Class VirtualFilesystem.AsyncHandlers
- java.lang.Object
-
- net.lax1dude.eaglercraft.v1_8.internal.vfs.VirtualFilesystem.AsyncHandlers
-
- Enclosing class:
- VirtualFilesystem
protected static class VirtualFilesystem.AsyncHandlers extends java.lang.Object
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AsyncHandlers()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static BooleanResult
deleteFile(IDBDatabase db, java.lang.String name)
protected static java.lang.Integer
deleteFiles(IDBDatabase db, java.lang.String prefix)
protected static BooleanResult
fileExists(IDBDatabase db, java.lang.String name)
protected static java.lang.Integer
iterateFiles(IDBDatabase db, VirtualFilesystem vfs, java.lang.String prefix, boolean rw, VFSIterator itr)
protected static VirtualFilesystem.DatabaseOpen
openDB(java.lang.String name)
protected static org.teavm.jso.typedarrays.ArrayBuffer
readRow(org.teavm.jso.JSObject obj)
protected static org.teavm.jso.typedarrays.ArrayBuffer
readWholeFile(IDBDatabase db, java.lang.String name)
protected static org.teavm.jso.JSObject
writeRow(java.lang.String name, org.teavm.jso.typedarrays.ArrayBuffer data)
protected static BooleanResult
writeWholeFile(IDBDatabase db, java.lang.String name, org.teavm.jso.typedarrays.ArrayBuffer data)
-
-
-
Method Detail
-
openDB
protected static VirtualFilesystem.DatabaseOpen openDB(java.lang.String name)
-
deleteFile
protected static BooleanResult deleteFile(IDBDatabase db, java.lang.String name)
-
readRow
protected static org.teavm.jso.typedarrays.ArrayBuffer readRow(org.teavm.jso.JSObject obj)
-
readWholeFile
protected static org.teavm.jso.typedarrays.ArrayBuffer readWholeFile(IDBDatabase db, java.lang.String name)
-
iterateFiles
protected static java.lang.Integer iterateFiles(IDBDatabase db, VirtualFilesystem vfs, java.lang.String prefix, boolean rw, VFSIterator itr)
-
deleteFiles
protected static java.lang.Integer deleteFiles(IDBDatabase db, java.lang.String prefix)
-
fileExists
protected static BooleanResult fileExists(IDBDatabase db, java.lang.String name)
-
writeRow
protected static org.teavm.jso.JSObject writeRow(java.lang.String name, org.teavm.jso.typedarrays.ArrayBuffer data)
-
writeWholeFile
protected static BooleanResult writeWholeFile(IDBDatabase db, java.lang.String name, org.teavm.jso.typedarrays.ArrayBuffer data)
-
-