Package net.runelite.cache.fs.jagex
Class DiskStorage
- java.lang.Object
-
- net.runelite.cache.fs.jagex.DiskStorage
-
-
Constructor Summary
Constructors Constructor Description DiskStorage(java.io.File folder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidinit(Store store)byte[]load(int index, int archive)voidload(Store store)byte[]readIndex(int indexId)voidsave(Store store)voidstore(int index, int archive, byte[] archiveData)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.runelite.cache.fs.Storage
loadArchive, saveArchive
-
-
-
-
Method Detail
-
init
public void init(Store store) throws java.io.IOException
-
close
public void close() throws java.io.IOException
-
load
public void load(Store store) throws java.io.IOException
-
readIndex
public byte[] readIndex(int indexId) throws java.io.IOException- Throws:
java.io.IOException
-
save
public void save(Store store) throws java.io.IOException
-
load
public byte[] load(int index, int archive) throws java.io.IOException
-
-