Class FileSystemImpl
java.lang.Object
zombie.fileSystem.FileSystem
zombie.fileSystem.FileSystemImpl
-
Nested Class Summary
Nested classes/interfaces inherited from class zombie.fileSystem.FileSystem
FileSystem.SubTexture, FileSystem.TexturePackTextures
-
Field Summary
FieldsFields inherited from class zombie.fileSystem.FileSystem
INVALID_ASYNC
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
cancelAsync
(int id) void
void
closeAsync
(IFile file, IFileTask2Callback cb) void
closeStream
(InputStream stream) boolean
getTexturePackAlpha
(String name, String page) getTexturePackDevice
(String name) int
getTexturePackFlags
(String name) boolean
hasWork()
boolean
mount
(IFileDevice device) void
mountTexturePack
(String name, FileSystem.TexturePackTextures subTextures, int flags) open
(DeviceList deviceList, String path, int mode) int
openAsync
(DeviceList deviceList, String path, int mode, IFileTask2Callback cb) openStream
(DeviceList deviceList, String path) int
boolean
unMount
(IFileDevice device) void
-
Field Details
-
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
- Specified by:
openAsync
in classFileSystem
-
closeAsync
- Specified by:
closeAsync
in classFileSystem
-
cancelAsync
public void cancelAsync(int id) - Specified by:
cancelAsync
in classFileSystem
-
openStream
- Specified by:
openStream
in classFileSystem
- Throws:
IOException
-
closeStream
- 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
- Specified by:
mountTexturePack
in classFileSystem
-
getTexturePackDevice
- Specified by:
getTexturePackDevice
in classFileSystem
-
getTexturePackFlags
- Specified by:
getTexturePackFlags
in classFileSystem
-
getTexturePackAlpha
- Specified by:
getTexturePackAlpha
in classFileSystem
-