public class Fli4LArchiver
extends java.lang.Object
| Constructor and Description |
|---|
Fli4LArchiver() |
| Modifier and Type | Method and Description |
|---|---|
private void |
createArchive(ArchiveComponentVisitor visitor,
java.util.List<AbstractArchiveComponent> archiveComponents)
Creates an archive with the specified type archiveType.
|
void |
createCPIO(java.io.OutputStream outputStream,
java.util.List<AbstractArchiveComponent> archiveComponents)
Adds an entry to the CPIO-archive for each archiveComponent.
|
void |
createTAR(java.io.OutputStream outputStream,
java.util.List<AbstractArchiveComponent> archiveComponents)
Adds an entry to the TAR-archive for each archiveCpmponent.
|
public void createCPIO(java.io.OutputStream outputStream,
java.util.List<AbstractArchiveComponent> archiveComponents)
throws org.apache.commons.compress.archivers.ArchiveException,
java.io.FileNotFoundException,
java.io.IOException,
IllegalDeviceTypeException
outputStream - the OutputStream to the CPIO-archivearchiveComponents - the ArchiveComponents to be add to the archiveorg.apache.commons.compress.archivers.ArchiveException - if the archive could not be createdjava.io.FileNotFoundExceptionjava.io.IOExceptionIllegalDeviceTypeException - when a unsupported devtype is declaredpublic void createTAR(java.io.OutputStream outputStream,
java.util.List<AbstractArchiveComponent> archiveComponents)
throws java.io.FileNotFoundException,
java.io.IOException,
org.apache.commons.compress.archivers.ArchiveException,
IllegalDeviceTypeException
outputStream - the outputStream to the TARarchivearchiveComponents - the Archive Components to be add to the archivejava.io.FileNotFoundExceptionjava.io.IOExceptionorg.apache.commons.compress.archivers.ArchiveExceptionIllegalDeviceTypeException - when a unsupported devtype is declaredprivate void createArchive(ArchiveComponentVisitor visitor, java.util.List<AbstractArchiveComponent> archiveComponents) throws java.io.FileNotFoundException, java.io.IOException, IllegalDeviceTypeException
visitor - the visitor to create the archive entriesarchiveComponents - the components, that should be put to the archivejava.io.FileNotFoundExceptionjava.io.IOExceptionIllegalDeviceTypeException - when a unsupported devtype is declared