Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
extract(File f,
String dir,
boolean deleteZip) |
ArrayList |
extract(InputStream is,
String dir) |
ArrayList |
extract(InputStream is,
String dir,
boolean overwrite,
EventMetaI ci) |
int |
getCompressionMethod() |
boolean |
getDecompressFilesBeforeZipping() |
List<String> |
getDuplicates() |
void |
setCompressionMethod(int method) |
void |
setDecompressFilesBeforeZipping(boolean method) |
void |
setOutputStream(OutputStream outStream) |
void |
setOutputStream(OutputStream outStream,
int compressionMethod) |
void |
write(String relativePath,
File f) |
void |
write(String relativePath,
InputStream f) |
void |
write(String relativePath,
String absolutePath) |
void |
write(org.nrg.xnat.srb.XNATDirectory dir) |
void |
writeDirectory(File dir) |
void setOutputStream(OutputStream outStream) throws IOException
IOException
void setOutputStream(OutputStream outStream, int compressionMethod) throws IOException
IOException
void extract(File f, String dir, boolean deleteZip) throws IOException
IOException
ArrayList extract(InputStream is, String dir, boolean overwrite, EventMetaI ci) throws IOException
IOException
ArrayList extract(InputStream is, String dir) throws IOException
IOException
void write(String relativePath, String absolutePath) throws IOException
relativePath
- path name for zip fileabsolutePath
- Absolute path used to load file.FileNotFoundException
IOException
void write(org.nrg.xnat.srb.XNATDirectory dir) throws IOException
dir
- Directory to write into.IOException
void write(String relativePath, File f) throws IOException
relativePath
- Path name for zip filef
- File name for zip fileIOException
void write(String relativePath, InputStream f) throws IOException
relativePath
- Path name for zip filef
- File name for zip fileIOException
void writeDirectory(File dir) throws IOException
dir
- Path for directory.IOException
void close() throws IOException
IOException
boolean getDecompressFilesBeforeZipping()
void setDecompressFilesBeforeZipping(boolean method)
method
- The _compressionMethod to set.int getCompressionMethod()
void setCompressionMethod(int method)
method
- The _compressionMethod to set.Copyright © 2015 Neuroinformatics Research Group. All rights reserved.