Class Archive


  • public class Archive
    extends java.lang.Object
    • Constructor Detail

      • Archive

        public Archive​(Index index,
                       int id)
    • Method Detail

      • decompress

        public byte[] decompress​(byte[] data)
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • decompress

        public byte[] decompress​(byte[] data,
                                 int[] keys)
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • getFiles

        public ArchiveFiles getFiles​(byte[] data)
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • getFiles

        public ArchiveFiles getFiles​(byte[] data,
                                     int[] keys)
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • equals

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

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

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

        public Index getIndex()
      • getArchiveId

        public int getArchiveId()
      • getNameHash

        public int getNameHash()
      • setNameHash

        public void setNameHash​(int nameHash)
      • getCrc

        public int getCrc()
      • setCrc

        public void setCrc​(int crc)
      • getCompressedSize

        public int getCompressedSize()
      • setCompressedSize

        public void setCompressedSize​(int compressedSize)
      • getDecompressedSize

        public int getDecompressedSize()
      • setDecompressedSize

        public void setDecompressedSize​(int decompressedSize)
      • getRevision

        public int getRevision()
      • setRevision

        public void setRevision​(int revision)
      • getCompression

        public int getCompression()
      • setCompression

        public void setCompression​(int compression)
      • getFileData

        public FileData[] getFileData()
      • setFileData

        public void setFileData​(FileData[] fileData)