|
||||||||||
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(InputStream is)
Loads the XPM file |
static XPMFile |
load(String file)
Loads the XPM file |
static void |
main(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(String file) throws IOException
file
- path to file
IOException
- If any IO exceptions occurs while reading filepublic static XPMFile load(InputStream is)
is
- InputStream to read file from
public int getHeight()
public int getWidth()
public byte[] getBytes()
public static void main(String[] args)
args
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |