Class ReferenceTable


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

      • ReferenceTable

        public ReferenceTable​(Js5IndexFile file)
    • Method Detail

      • getIndexOfGroupHash

        public int getIndexOfGroupHash​(int hash)
      • getIndexOfFileHash

        public int getIndexOfFileHash​(int group,
                                      int hash)
      • initialize

        public void initialize​(Js5IndexFile meta,
                               Js5Dat2File cache)
                        throws java.io.IOException
        Throws:
        java.io.IOException
      • initialized

        public boolean initialized()
      • readChunk

        public byte[] readChunk​(Js5Dat2File cache,
                                InitialChunkInfo chunk)
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • decode

        public void decode​(byte[] data)
      • groups

        public int[] groups()
      • exists

        public boolean exists​(int group)
      • load

        public java.util.Map<java.lang.Integer,​byte[]> load​(java.lang.String group)
      • load

        public java.util.Map<java.lang.Integer,​byte[]> load​(int group)
      • load

        public java.util.Map<java.lang.Integer,​byte[]> load​(int group,
                                                                  int[] xtea_keys)
      • loadLandscape

        public java.util.Map<java.lang.Integer,​byte[]> loadLandscape​(int group,
                                                                           int[] xtea_keys)
      • load

        public java.util.Map<java.lang.Integer,​byte[]> load​(java.lang.String group,
                                                                  int[] xtea_keys)