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