# Uses of Interface
org.apache.commons.compress.archivers.zip.ZipEncoding

Packages that use ZipEncoding
Package
Description
org.apache.commons.compress.archivers.tar
Provides stream classes for reading and writing archives using the TAR format.
org.apache.commons.compress.archivers.zip
Provides stream classes for reading and writing archives using the ZIP format.

- ## Uses of ZipEncoding in org.apache.commons.compress.archivers.tar

  Methods in org.apache.commons.compress.archivers.tar with parameters of type ZipEncoding
  Modifier and Type
  Method
  Description
  `static int`
  TarUtils.`formatNameBytes(String name, byte[] buf, int offset, int length, ZipEncoding encoding)`
  Copy a name into a buffer.
  `static String`
  TarUtils.`parseName(byte[] buffer, int offset, int length, ZipEncoding encoding)`
  Parse 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)`
  Write an entry's header information to a header buffer.
  Constructors in org.apache.commons.compress.archivers.tar with parameters of type ZipEncoding
  Modifier
  Constructor
  Description
  ``
  `TarArchiveEntry(byte[] headerBuf, ZipEncoding encoding)`
  Construct an entry from an archive's header bytes.
  ``
  `TarArchiveEntry(byte[] headerBuf, ZipEncoding encoding, boolean lenient)`
  Construct an entry from an archive's header bytes.
  ``
  `TarArchiveEntry(byte[] headerBuf, ZipEncoding encoding, boolean lenient, long dataOffset)`
  Construct an entry from an archive's header bytes for random access tar.
  ``
  `TarArchiveEntry(Map<String,String> globalPaxHeaders, byte[] headerBuf, ZipEncoding encoding, boolean lenient)`
  Construct an entry from an archive's header bytes.
  ``
  `TarArchiveEntry(Map<String,String> globalPaxHeaders, byte[] headerBuf, ZipEncoding encoding, boolean lenient, long dataOffset)`
  Construct an entry from an archive's header bytes for random access tar.

- ## Uses of ZipEncoding in org.apache.commons.compress.archivers.zip

  Methods in org.apache.commons.compress.archivers.zip that return ZipEncoding
  Modifier and Type
  Method
  Description
  `static ZipEncoding`
  ZipEncodingHelper.`getZipEncoding(String name)`
  Instantiates a ZIP encoding.