Package net.runelite.cache.fs.flat
Class FlatStorage
- java.lang.Object
-
- net.runelite.cache.fs.flat.FlatStorage
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringEXTENSION
-
Constructor Summary
Constructors Modifier Constructor Description protectedFlatStorage()FlatStorage(java.io.File directory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidinit(Store store)protected java.lang.String[]listFlatcacheFiles()byte[]load(int index, int archive)voidload(Store store)protected java.io.InputStreamopenReader(java.lang.String filename)protected java.io.OutputStreamopenWriter(java.lang.String filename)voidsave(Store store)voidstore(int index, int archive, byte[] bytes)-
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
-
-
-
-
Field Detail
-
EXTENSION
protected static final java.lang.String EXTENSION
- See Also:
- Constant Field Values
-
-
Method Detail
-
openReader
protected java.io.InputStream openReader(java.lang.String filename) throws java.io.IOException- Throws:
java.io.IOException
-
openWriter
protected java.io.OutputStream openWriter(java.lang.String filename) throws java.io.IOException- Throws:
java.io.IOException
-
listFlatcacheFiles
protected java.lang.String[] listFlatcacheFiles() throws java.io.IOException- Throws:
java.io.IOException
-
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
-
save
public void save(Store store) throws java.io.IOException
-
-