Class Archive


  • final class Archive
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) SevenZArchiveEntry[] files
      The files and directories in the archive.
      (package private) Folder[] folders
      Properties of solid compression blocks.
      (package private) long[] packCrcs
      CRCs for each packed stream, valid only if that packed stream has one.
      (package private) java.util.BitSet packCrcsDefined
      Whether each particular packed streams has a CRC.
      (package private) long packPos
      Offset from beginning of file + SIGNATURE_HEADER_SIZE to packed streams.
      (package private) long[] packSizes
      Size of each packed stream.
      (package private) StreamMap streamMap
      Mapping between folders, files and streams.
      (package private) SubStreamsInfo subStreamsInfo
      Temporary properties for non-empty files (subsumed into the files array later).
    • Constructor Summary

      Constructors 
      Constructor Description
      Archive()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private static java.lang.String lengthOf​(long[] a)  
      private static java.lang.String lengthOf​(java.lang.Object[] a)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • packPos

        long packPos
        Offset from beginning of file + SIGNATURE_HEADER_SIZE to packed streams.
      • packSizes

        long[] packSizes
        Size of each packed stream.
      • packCrcsDefined

        java.util.BitSet packCrcsDefined
        Whether each particular packed streams has a CRC.
      • packCrcs

        long[] packCrcs
        CRCs for each packed stream, valid only if that packed stream has one.
      • folders

        Folder[] folders
        Properties of solid compression blocks.
      • subStreamsInfo

        SubStreamsInfo subStreamsInfo
        Temporary properties for non-empty files (subsumed into the files array later).
      • streamMap

        StreamMap streamMap
        Mapping between folders, files and streams.
    • Constructor Detail

      • Archive

        Archive()
    • Method Detail

      • lengthOf

        private static java.lang.String lengthOf​(long[] a)
      • lengthOf

        private static java.lang.String lengthOf​(java.lang.Object[] a)
      • toString

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