Package net.runelite.cache.fs.jagex
Class IndexFile
- java.lang.Object
-
- net.runelite.cache.fs.jagex.IndexFile
-
- All Implemented Interfaces:
Closeable,AutoCloseable
public class IndexFile extends Object implements Closeable
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)voidclear()voidclose()booleanequals(Object o)intgetIndexCount()intgetIndexFileId()inthashCode()IndexEntryread(int id)voidwrite(IndexEntry entry)
-
-
-
Constructor Detail
-
IndexFile
public IndexFile(int indexFileId, File file) throws FileNotFoundException- Throws:
FileNotFoundException
-
-
Method Detail
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
clear
public void clear() throws IOException- Throws:
IOException
-
write
public void write(IndexEntry entry) throws IOException
- Throws:
IOException
-
read
public IndexEntry read(int id) throws IOException
- Throws:
IOException
-
getIndexCount
public int getIndexCount() throws IOException- Throws:
IOException
-
canEqual
protected boolean canEqual(Object other)
-
getIndexFileId
public int getIndexFileId()
-
-