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

# Class TarArchiveStructSparse

java.lang.Object
org.apache.commons.compress.archivers.tar.TarArchiveStructSparse

public final class TarArchiveStructSparse extends Object
This class represents struct sparse in a Tar archive.

Whereas, "struct sparse" is:

     struct sparse {
     char offset[12];   // offset 0
     char numbytes[12]; // offset 12
     };

Since:
  1.20

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `TarArchiveStructSparse(long offset, long numbytes)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `equals(Object o)`
  `long`
  `getNumbytes()`
  `long`
  `getOffset()`
  `int`
  `hashCode()`
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### TarArchiveStructSparse

    public TarArchiveStructSparse(long offset, long numbytes)

- ## Method Details

  - ### equals

    public boolean equals(Object o)
    Overrides:
      `equals` in class `Object`

  - ### getNumbytes

    public long getNumbytes()

  - ### getOffset

    public long getOffset()

  - ### hashCode

    public int hashCode()
    Overrides:
      `hashCode` in class `Object`

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`