| 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. | 
| Modifier and Type | Method and 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. | 
| Constructor and Description | 
|---|
| TarArchiveEntry(byte[] headerBuf,
               ZipEncoding encoding)Construct an entry from an archive's header bytes. | 
| Modifier and Type | Method and Description | 
|---|---|
| static ZipEncoding | ZipEncodingHelper. getZipEncoding(String name)Instantiates a zip encoding. | 
Copyright © 2018 The Apache Software Foundation. All rights reserved.