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, getArchiveStream
org.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.IOException
org.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