public interface ArchiveStreamFactory
Modifier and Type | Method and Description |
---|---|
org.apache.commons.compress.archivers.ArchiveInputStream |
getArchiveStream(java.io.InputStream stream,
java.lang.String encoding) |
org.apache.commons.compress.archivers.ArchiveOutputStream |
getArchiveStream(java.io.OutputStream stream,
java.lang.String encoding) |
org.apache.commons.compress.archivers.ArchiveInputStream getArchiveStream(java.io.InputStream stream, java.lang.String encoding) throws java.io.IOException
stream
- the stream to read from, should be bufferedencoding
- the encoding of the entry names, ignored by all
formats except arj, cpio, dump, tar and zipjava.io.IOException
org.apache.commons.compress.archivers.ArchiveOutputStream getArchiveStream(java.io.OutputStream stream, java.lang.String encoding) throws java.io.IOException
stream
- the stream to write to, should be bufferedencoding
- the encoding of the entry names, ignored by all
formats except cpio, tar and zipjava.io.IOException