Uses of Class
org.apache.commons.compress.archivers.tar.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
Modifier and TypeMethodDescriptionstatic TarArchiveStructSparse
TarUtils.parseSparse
(byte[] buffer, int offset) Parses the content of a PAX 1.0 sparse block.Modifier and TypeMethodDescriptionTarArchiveEntry.getOrderedSparseHeaders()
Gets this entry's sparse headers ordered by offset with all empty sparse sections at the start filtered out.TarArchiveEntry.getSparseHeaders()
Gets this entry's sparse headersTarArchiveSparseEntry.getSparseHeaders()
Gets 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.Modifier and TypeMethodDescriptionTarUtils.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:void
TarArchiveEntry.setSparseHeaders
(List<TarArchiveStructSparse> sparseHeaders) Sets this entry's sparse headers