Uses of Class
org.apache.commons.compress.archivers.tar.TarArchiveStructSparse
Packages that use TarArchiveStructSparse
Package
Description
Provides stream classes for reading and writing archives using
the TAR format.
-
Uses of TarArchiveStructSparse in org.apache.commons.compress.archivers.tar
Fields in org.apache.commons.compress.archivers.tar with type parameters of type TarArchiveStructSparseModifier and TypeFieldDescriptionprivate final List<TarArchiveStructSparse>
TarArchiveInputStream.globalSparseHeaders
private final List<TarArchiveStructSparse>
TarFile.globalSparseHeaders
private List<TarArchiveStructSparse>
TarArchiveEntry.sparseHeaders
The sparse headers in tarprivate final List<TarArchiveStructSparse>
TarArchiveSparseEntry.sparseHeaders
Methods in org.apache.commons.compress.archivers.tar that return TarArchiveStructSparseModifier and TypeMethodDescriptionstatic TarArchiveStructSparse
TarUtils.parseSparse
(byte[] buffer, int offset) Parses the content of a PAX 1.0 sparse block.Methods in org.apache.commons.compress.archivers.tar that return types with arguments of type TarArchiveStructSparseModifier and TypeMethodDescriptionTarArchiveEntry.getOrderedSparseHeaders()
Get this entry's sparse headers ordered by offset with all empty sparse sections at the start filtered out.TarArchiveEntry.getSparseHeaders()
Get this entry's sparse headersTarArchiveSparseEntry.getSparseHeaders()
Obtains information about the configuration for the sparse entry.protected static List<TarArchiveStructSparse>
TarUtils.parseFromPAX01SparseHeaders
(String sparseMap) For PAX Format 0.1, the sparse headers are stored in a single variable : GNU.sparse.map GNU.sparse.map Map of non-null data chunks.protected static List<TarArchiveStructSparse>
TarUtils.parsePAX01SparseHeaders
(String sparseMap) Deprecated.use #parseFromPAX01SparseHeaders insteadprotected static List<TarArchiveStructSparse>
TarUtils.parsePAX1XSparseHeaders
(InputStream inputStream, int recordSize) For PAX Format 1.X: The sparse map itself is stored in the file data block, preceding the actual file data.(package private) static List<TarArchiveStructSparse>
TarUtils.readSparseStructs
(byte[] buffer, int offset, int entries) Method parameters in org.apache.commons.compress.archivers.tar with type arguments of type TarArchiveStructSparseModifier and TypeMethodDescriptionprivate void
TarArchiveInputStream.applyPaxHeadersToCurrentEntry
(Map<String, String> headers, List<TarArchiveStructSparse> sparseHeaders) private void
TarFile.applyPaxHeadersToCurrentEntry
(Map<String, String> headers, List<TarArchiveStructSparse> sparseHeaders) Update the current entry with the read pax headersTarUtils.parsePaxHeaders
(InputStream inputStream, List<TarArchiveStructSparse> sparseHeaders, Map<String, String> globalPaxHeaders) Deprecated.use the four-arg version insteadTarUtils.parsePaxHeaders
(InputStream inputStream, List<TarArchiveStructSparse> sparseHeaders, Map<String, String> globalPaxHeaders, long headerSize) For PAX Format 0.0, the sparse headers(GNU.sparse.offset and GNU.sparse.numbytes) may appear multi times, and they look like: GNU.sparse.size=size GNU.sparse.numblocks=numblocks repeat numblocks times GNU.sparse.offset=offset GNU.sparse.numbytes=numbytes end repeat For PAX Format 0.1, the sparse headers are stored in a single variable : GNU.sparse.map GNU.sparse.map Map of non-null data chunks.void
TarArchiveEntry.setSparseHeaders
(List<TarArchiveStructSparse> sparseHeaders) Set this entry's sparse headers