|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--trex.GUI.ImageChooser.ImageChooserUtils
Stupid helper class for filechooser. Returns extension of a given file and knows about image suffixes.
This class was mostly stolen from Sun's documentation: FileChooser Demo (whoops... does this hurt GPL?!)
Field Summary | |
static String |
gif
Image suffixes. |
static String |
jpeg
Image suffixes. |
static String |
jpg
Image suffixes. |
static String |
png
Image suffixes. |
Constructor Summary | |
ImageChooserUtils()
|
Method Summary | |
static String |
getExtension(File f)
Get the extension of a file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String jpeg
public static final String jpg
public static final String gif
public static final String png
Constructor Detail |
public ImageChooserUtils()
Method Detail |
public static String getExtension(File f)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |