Package zombie.fileSystem
Class FileSystem
java.lang.Object
zombie.fileSystem.FileSystem
- Direct Known Subclasses:
FileSystemImpl
public abstract class FileSystem
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FileSystem.SubTexture
static class
FileSystem.TexturePackTextures
-
Field Summary
Fields Modifier and Type Field Description static int
INVALID_ASYNC
-
Constructor Summary
Constructors Constructor Description FileSystem()
-
Method Summary
Modifier and Type Method Description abstract void
cancelAsync(int int1)
abstract void
close(IFile iFile)
abstract void
closeAsync(IFile iFile, IFileTask2Callback iFileTask2Callback)
abstract void
closeStream(java.io.InputStream inputStream)
abstract DeviceList
getDefaultDevice()
abstract boolean
getTexturePackAlpha(java.lang.String string, java.lang.String string2)
abstract DeviceList
getTexturePackDevice(java.lang.String string)
abstract int
getTexturePackFlags(java.lang.String string)
abstract boolean
hasWork()
abstract boolean
mount(IFileDevice iFileDevice)
abstract void
mountTexturePack(java.lang.String string, FileSystem.TexturePackTextures texturePackTextures, int int1)
abstract IFile
open(DeviceList deviceList, java.lang.String string, int int1)
abstract int
openAsync(DeviceList deviceList, java.lang.String string, int int1, IFileTask2Callback iFileTask2Callback)
abstract java.io.InputStream
openStream(DeviceList deviceList, java.lang.String string)
abstract int
runAsync(FileTask fileTask)
abstract boolean
unMount(IFileDevice iFileDevice)
abstract void
updateAsyncTransactions()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
INVALID_ASYNC
public static final int INVALID_ASYNC- See Also:
- Constant Field Values
-
-
Constructor Details
-
FileSystem
public FileSystem()
-
-
Method Details
-
mount
-
unMount
-
open
-
close
-
openAsync
public abstract int openAsync(DeviceList deviceList, java.lang.String string, int int1, IFileTask2Callback iFileTask2Callback) -
closeAsync
-
cancelAsync
public abstract void cancelAsync(int int1) -
openStream
public abstract java.io.InputStream openStream(DeviceList deviceList, java.lang.String string) throws java.io.IOException- Throws:
java.io.IOException
-
closeStream
public abstract void closeStream(java.io.InputStream inputStream) -
runAsync
-
updateAsyncTransactions
public abstract void updateAsyncTransactions() -
hasWork
public abstract boolean hasWork() -
getDefaultDevice
-
mountTexturePack
public abstract void mountTexturePack(java.lang.String string, FileSystem.TexturePackTextures texturePackTextures, int int1) -
getTexturePackDevice
-
getTexturePackFlags
public abstract int getTexturePackFlags(java.lang.String string) -
getTexturePackAlpha
public abstract boolean getTexturePackAlpha(java.lang.String string, java.lang.String string2)
-