public interface FileAwareArchiveStreamFactory extends ArchiveStreamFactory
| Modifier and Type | Method and Description |
|---|---|
org.apache.commons.compress.archivers.ArchiveInputStream |
getArchiveInputStream(java.io.File file,
java.lang.String encoding) |
org.apache.commons.compress.archivers.ArchiveOutputStream |
getArchiveOutputStream(java.io.File file,
java.lang.String encoding) |
getArchiveStream, getArchiveStreamorg.apache.commons.compress.archivers.ArchiveInputStream getArchiveInputStream(java.io.File file,
java.lang.String encoding)
throws java.io.IOException
file - the file to read fromencoding - the encoding of the entry names, ignored by all
formats except zipjava.io.IOExceptionorg.apache.commons.compress.archivers.ArchiveOutputStream getArchiveOutputStream(java.io.File file,
java.lang.String encoding)
throws java.io.IOException
file - the file to write toencoding - the encoding of the entry names, ignored by all
formats except zipjava.io.IOException