|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.lwjgl.util.XPMFile
public class XPMFile
NOTE: This simple XPM reader does not support extensions nor hotspots
Method Summary | |
---|---|
byte[] |
getBytes()
|
int |
getHeight()
|
int |
getWidth()
|
static XPMFile |
load(java.io.InputStream is)
Loads the XPM file |
static XPMFile |
load(java.lang.String file)
Loads the XPM file |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static XPMFile load(java.lang.String file) throws java.io.IOException
file
- path to file
java.io.IOException
- If any IO exceptions occurs while reading filepublic static XPMFile load(java.io.InputStream is)
is
- InputStream to read file from
public int getHeight()
public int getWidth()
public byte[] getBytes()
public static void main(java.lang.String[] args)
args
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |