## Uses of Class
org.apache.commons.compress.archivers.tar.TarArchiveStructSparse

- Packages that use TarArchiveStructSparse
  Package | Description
  --- | ---
  org.apache.commons.compress.archivers.tar | Provides stream classes for reading and writing archives using the TAR format.

- - ### Uses of TarArchiveStructSparse in org.apache.commons.compress.archivers.tar

    Methods in org.apache.commons.compress.archivers.tar that return TarArchiveStructSparse
    Modifier and Type | Method and Description
    --- | ---
    `static 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 TarArchiveStructSparse
    Modifier and Type | Method and Description
    --- | ---
    `List<TarArchiveStructSparse>` | TarArchiveEntry.`getOrderedSparseHeaders()` Get this entry's sparse headers ordered by offset with all empty sparse sections at the start filtered out.
    `List<TarArchiveStructSparse>` | TarArchiveEntry.`getSparseHeaders()` Get this entry's sparse headers
    `List<TarArchiveStructSparse>` | TarArchiveSparseEntry.`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 instead
    `protected 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.

    Method parameters in org.apache.commons.compress.archivers.tar with type arguments of type TarArchiveStructSparse
    Modifier and Type | Method and Description
    --- | ---
    `protected static Map<String,String>` | TarUtils.`parsePaxHeaders(InputStream inputStream, List<TarArchiveStructSparse> sparseHeaders, Map<String,String> globalPaxHeaders)` Deprecated. use the four-arg version instead
    `protected static Map<String,String>` | TarUtils.`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

Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.