Package zombie.fileSystem
Class TexturePackDevice
java.lang.Object
zombie.fileSystem.TexturePackDevice
- All Implemented Interfaces:
IFileDevice
public final class TexturePackDevice extends java.lang.Object implements IFileDevice
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
TexturePackDevice.PositionInputStream
-
Constructor Summary
Constructors Constructor Description TexturePackDevice(java.lang.String string, int int1)
-
Method Summary
Modifier and Type Method Description IFile
createFile(IFile iFile)
java.io.InputStream
createStream(java.lang.String string, java.io.InputStream inputStream)
void
destroyFile(IFile iFile)
void
destroyStream(java.io.InputStream inputStream)
void
getSubTextureInfo(FileSystem.TexturePackTextures texturePackTextures)
int
getTextureFlags()
boolean
isAlpha(java.lang.String string)
java.lang.String
name()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
TexturePackDevice
public TexturePackDevice(java.lang.String string, int int1)
-
-
Method Details
-
createFile
- Specified by:
createFile
in interfaceIFileDevice
-
destroyFile
- Specified by:
destroyFile
in interfaceIFileDevice
-
createStream
public java.io.InputStream createStream(java.lang.String string, java.io.InputStream inputStream) throws java.io.IOException- Specified by:
createStream
in interfaceIFileDevice
- Throws:
java.io.IOException
-
destroyStream
public void destroyStream(java.io.InputStream inputStream)- Specified by:
destroyStream
in interfaceIFileDevice
-
name
public java.lang.String name()- Specified by:
name
in interfaceIFileDevice
-
getSubTextureInfo
public void getSubTextureInfo(FileSystem.TexturePackTextures texturePackTextures) throws java.io.IOException- Throws:
java.io.IOException
-
isAlpha
public boolean isAlpha(java.lang.String string) -
getTextureFlags
public int getTextureFlags()
-