Class 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 Detail

      • TarArchiveStructSparse

        public TarArchiveStructSparse​(long offset,
                                      long numbytes)
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getOffset

        public long getOffset()
      • getNumbytes

        public long getNumbytes()