|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.opengl.util.FileUtil
public class FileUtil
Utilities for dealing with files.
Method Summary | |
---|---|
static java.lang.String |
getFileSuffix(java.io.File file)
Returns the lowercase suffix of the given file name (the text after the last '.' in the file name). |
static java.lang.String |
getFileSuffix(java.lang.String filename)
Returns the lowercase suffix of the given file name (the text after the last '.' in the file name). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.String getFileSuffix(java.io.File file)
file
- name of the file
java.lang.NullPointerException
- if file is nullpublic static java.lang.String getFileSuffix(java.lang.String filename)
filename
- name of the file
java.lang.NullPointerException
- if filename is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |