ArchiveOutputStream
Archive output stream implementations are expected to override the write method to improve performance. They should also override close to ensure that any necessary trailers are added.
The normal sequence of calls when working with ArchiveOutputStreams is:
- Create ArchiveOutputStream object,
- optionally write SFX header (Zip only),
- repeat as needed:
- putArchiveEntry (writes entry header),
- write (writes entry data, as often as needed),
- closeArchiveEntry (closes entry),
- finish (ends the addition of entries),
- optionally write additional data, provided format supports it,
- close.
Inheritors
Functions
Link copied to clipboard
Whether this stream is able to write the given entry.
Link copied to clipboard
Closes the archive entry, writing any trailer information that may be required.
Link copied to clipboard
Create an archive entry using the inputFile and entryName provided.
Link copied to clipboard
Link copied to clipboard
Writes the headers for an archive entry to the output stream.