Uses of Interface
org.apache.commons.compress.archivers.zip.ZipEncoding
Package
Description
Provides stream classes for reading and writing archives using the TAR format.
Provides stream classes for reading and writing archives using the ZIP format.
-
Uses of ZipEncoding in org.apache.commons.compress.archivers.tar
Modifier and TypeMethodDescriptionstatic int
TarUtils.formatNameBytes
(String name, byte[] buf, int offset, int length, ZipEncoding encoding) Copies a name into a buffer.static String
TarUtils.parseName
(byte[] buffer, int offset, int length, ZipEncoding encoding) Parses an entry name from a buffer.void
TarArchiveEntry.parseTarHeader
(byte[] header, ZipEncoding encoding) Parse an entry's header information from a header buffer.void
TarArchiveEntry.writeEntryHeader
(byte[] outbuf, ZipEncoding encoding, boolean starMode) Writes an entry's header information to a header buffer.ModifierConstructorDescriptionTarArchiveEntry
(byte[] headerBuf, ZipEncoding encoding) Constructs an entry from an archive's header bytes.TarArchiveEntry
(byte[] headerBuf, ZipEncoding encoding, boolean lenient) Constructs an entry from an archive's header bytes.TarArchiveEntry
(byte[] headerBuf, ZipEncoding encoding, boolean lenient, long dataOffset) Constructs an entry from an archive's header bytes for random access tar.TarArchiveEntry
(Map<String, String> globalPaxHeaders, byte[] headerBuf, ZipEncoding encoding, boolean lenient) Constructs an entry from an archive's header bytes.TarArchiveEntry
(Map<String, String> globalPaxHeaders, byte[] headerBuf, ZipEncoding encoding, boolean lenient, long dataOffset) Constructs an entry from an archive's header bytes for random access tar. -
Uses of ZipEncoding in org.apache.commons.compress.archivers.zip
Modifier and TypeMethodDescriptionstatic ZipEncoding
ZipEncodingHelper.getZipEncoding
(String name) Instantiates a ZIP encoding.static ZipEncoding
ZipEncodingHelper.getZipEncoding
(Charset charset) Instantiates a ZIP encoding.