public interface ArchiveCompressor extends Closeable
ArchiveCompressor of type ArchiveUtils.Type allows for multi-step creation of an archive.
An ArchiveCompressor is opened at creation time and should be closed with Closeable.close().
Use ArchiveUtils.createArchiveCompressor(File) and ArchiveUtils.createArchiveCompressor(File, ArchiveUtils.Type)
to create an instance of a ArchiveCompressor of type ArchiveUtils.Type.| Modifier and Type | Method and Description |
|---|---|
void |
addFile(File file,
File parentPath) |
void addFile(File file, File parentPath) throws IOException
IOExceptionCopyright © 2002-2024 Atlassian. All Rights Reserved.