Package net.runelite.cache.fs
Class Store
- java.lang.Object
-
- net.runelite.cache.fs.Store
-
- All Implemented Interfaces:
Closeable,AutoCloseable
public final class Store extends Object implements Closeable
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IndexaddIndex(int id)voidclose()booleanequals(Object o)IndexfindIndex(int id)IndexgetIndex(IndexType type)List<Index>getIndexes()StoragegetStorage()inthashCode()voidload()voidremoveIndex(Index index)voidsave()
-
-
-
Constructor Detail
-
Store
public Store(File folder) throws IOException
- Throws:
IOException
-
Store
public Store(Storage storage) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getStorage
public Storage getStorage()
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
addIndex
public Index addIndex(int id)
-
removeIndex
public void removeIndex(Index index)
-
load
public void load() throws IOException- Throws:
IOException
-
save
public void save() throws IOException- Throws:
IOException
-
findIndex
public Index findIndex(int id)
-
-