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
IOException
Copyright © 2002-2022 Atlassian. All Rights Reserved.