Package net.runelite.cache.fs
Class Archive
- java.lang.Object
-
- net.runelite.cache.fs.Archive
-
public class Archive extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)byte[]decompress(byte[] data)byte[]decompress(byte[] data, int[] keys)booleanequals(Object o)intgetArchiveId()intgetCompressedSize()intgetCompression()intgetCrc()intgetDecompressedSize()FileData[]getFileData()ArchiveFilesgetFiles(byte[] data)ArchiveFilesgetFiles(byte[] data, int[] keys)IndexgetIndex()intgetNameHash()intgetRevision()inthashCode()voidsetCompressedSize(int compressedSize)voidsetCompression(int compression)voidsetCrc(int crc)voidsetDecompressedSize(int decompressedSize)voidsetFileData(FileData[] fileData)voidsetNameHash(int nameHash)voidsetRevision(int revision)
-
-
-
Constructor Detail
-
Archive
public Archive(Index index, int id)
-
-
Method Detail
-
decompress
public byte[] decompress(byte[] data) throws IOException- Throws:
IOException
-
decompress
public byte[] decompress(byte[] data, int[] keys) throws IOException- Throws:
IOException
-
getFiles
public ArchiveFiles getFiles(byte[] data) throws IOException
- Throws:
IOException
-
getFiles
public ArchiveFiles getFiles(byte[] data, int[] keys) throws IOException
- Throws:
IOException
-
canEqual
protected boolean canEqual(Object other)
-
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)
-
-