Class TarArchiveStructSparse
- java.lang.Object
-
- org.apache.commons.compress.archivers.tar.TarArchiveStructSparse
-
public final class TarArchiveStructSparse extends java.lang.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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
long
getNumbytes()
long
getOffset()
int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getOffset
public long getOffset()
-
getNumbytes
public long getNumbytes()
-
-