# 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)`
  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.
  Constructors in org.apache.commons.compress.archivers.tar with parameters of type ZipEncoding
  Modifier
  Constructor
  Description
  ``
  `TarArchiveEntry(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

  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.
  `static ZipEncoding`
  ZipEncodingHelper.`getZipEncoding(Charset charset)`
  Instantiates a ZIP encoding.