public class VitamArchiveStreamFactory extends Object
| Constructor and Description |
|---|
VitamArchiveStreamFactory() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.commons.compress.archivers.ArchiveInputStream |
createArchiveInputStream(javax.ws.rs.core.MediaType mediaType,
InputStream in)
Create an archive input stream from an archiver name and an input stream.
|
public org.apache.commons.compress.archivers.ArchiveInputStream createArchiveInputStream(javax.ws.rs.core.MediaType mediaType,
InputStream in)
throws org.apache.commons.compress.archivers.ArchiveException,
IOException
mediaType - MediaType object MediaType the archive name, i.e.
, , or in - the input streamorg.apache.commons.compress.archivers.ArchiveException - if the archiver name is not knownIOExceptionIllegalArgumentException - if the archiver name or stream is nullCopyright © 2018 Vitam. All rights reserved.