Top Description Interfaces Classes
[default module]

Package org.apache.commons.compress.archivers.tar


Provides stream classes for reading and writing archives using the TAR format.

There are many different format dialects that call themselves TAR. The classes of this package can read and write archives in the traditional pre-POSIX ustar format and support GNU specific extensions for long file names that GNU tar itself by now refers to as oldgnu.

Interface Summary

Modifier and TypeInterface and Description
public interface
TarConstants

This interface contains all the definitions used in the package.

Class Summary

Modifier and TypeClass and Description
public class
TarArchiveEntry

This class represents an entry in a Tar archive.

public class
TarArchiveInputStream

The TarInputStream reads a UNIX tar archive as an InputStream.

public class
TarArchiveOutputStream

The TarOutputStream writes a UNIX tar archive as an OutputStream.

public class
TarArchiveSparseEntry

This class represents a sparse entry in a Tar archive.

pack-priv class
TarArchiveSparseZeroInputStream

This is an InputStream that always return 0, this is used when reading the "holes" of a sparse file

public class
TarArchiveStructSparse

This class represents struct sparse in a Tar archive.

public class
TarFile

Provides random access to UNIX archives.

pack-priv class
TarGnuSparseKeys

GNU sparse key names.

public class
TarUtils

This class provides static utility methods to work with byte streams.