Changeset 634 for AE/installer2/src/net/oni2/aeinstaller/backend/network
- Timestamp:
- Jan 19, 2013, 12:58:17 PM (12 years ago)
- Location:
- AE/installer2/src/net/oni2/aeinstaller/backend/network
- Files:
-
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
AE/installer2/src/net/oni2/aeinstaller/backend/network/FileDownloader.java
r619 r634 61 61 * If url could not be opened 62 62 */ 63 public FileDownloader(String url, Stringtarget) throws IOException {63 public FileDownloader(String url, File target) throws IOException { 64 64 this.url = new URL(url); 65 this.target = new File(target);65 this.target = target; 66 66 67 67 URLConnection connection = this.url.openConnection(); … … 130 130 target.delete(); 131 131 } 132 } 133 134 /** 135 * @return current state 136 */ 137 public EState getState() { 138 return state; 132 139 } 133 140
Note:
See TracChangeset
for help on using the changeset viewer.