Changeset 10373 for trunk/gli/src/org/greenstone/gatherer/util
- Timestamp:
- 2005-08-01T14:20:56+12:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/util/Unzip.java
r10252 r10373 96 96 String file_name = entry.getName(); 97 97 String full_file_name = destination_directory_path + file_name; 98 File directory = (new File(full_file_name)).getParentFile(); 98 99 // System.err.println("Full file name: " + full_file_name); 100 if (!directory.exists() && !directory.mkdirs()) { 101 System.err.println("Error: Could not create directory " + directory + "!"); 102 } 103 99 104 FileOutputStream fos = new FileOutputStream(full_file_name); 100 105 BufferedOutputStream bos = new BufferedOutputStream(fos);
Note:
See TracChangeset
for help on using the changeset viewer.