public boolean createDirectory(DataEntry dataEntry) throws IOException { finishIfNecessary(dataEntry); setUp(dataEntry); // Did we get a zip output? if (currentZipOutput == null) { return false; } // Get the directory entry name. String name = dataEntry.getName() + ClassConstants.PACKAGE_SEPARATOR; // Create a new directory entry. OutputStream outputStream = currentZipOutput.createOutputStream(name, false, modificationTime); outputStream.close(); return true; }
public boolean createDirectory(DataEntry dataEntry) throws IOException { finishIfNecessary(dataEntry); setUp(dataEntry); // Did we get a zip output? if (currentZipOutput == null) { return false; } // Get the directory entry name. String name = dataEntry.getName() + ClassConstants.PACKAGE_SEPARATOR; // Create a new directory entry. OutputStream outputStream = currentZipOutput.createOutputStream(name, false, modificationTime); outputStream.close(); return true; }
public boolean createDirectory(DataEntry dataEntry) throws IOException { finishIfNecessary(dataEntry); setUp(dataEntry); // Did we get a zip output? if (currentZipOutput == null) { return false; } // Get the directory entry name. String name = dataEntry.getName() + ClassConstants.PACKAGE_SEPARATOR; // Create a new directory entry. OutputStream outputStream = currentZipOutput.createOutputStream(name, false, modificationTime); outputStream.close(); return true; }
public OutputStream createOutputStream(DataEntry dataEntry) throws IOException { finishIfNecessary(dataEntry); setUp(dataEntry); // Did we get a zip output? if (currentZipOutput == null) { return null; } // Create a new zip entry. return currentZipOutput.createOutputStream(dataEntry.getName(), true, modificationTime); }
public OutputStream createOutputStream(DataEntry dataEntry) throws IOException { finishIfNecessary(dataEntry); setUp(dataEntry); // Did we get a zip output? if (currentZipOutput == null) { return null; } // Create a new zip entry. return currentZipOutput.createOutputStream(dataEntry.getName(), true, modificationTime); }
public OutputStream createOutputStream(DataEntry dataEntry) throws IOException { finishIfNecessary(dataEntry); setUp(dataEntry); // Did we get a zip output? if (currentZipOutput == null) { return null; } // Create a new zip entry. return currentZipOutput.createOutputStream(dataEntry.getName(), true, modificationTime); }