|
|||||||||
| 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 String |
getFileSuffix(File file)
Returns the lowercase suffix of the given file name (the text after the last '.' in the file name). |
static String |
getFileSuffix(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 String getFileSuffix(File file)
file - name of the file
NullPointerException - if file is nullpublic static String getFileSuffix(String filename)
filename - name of the file
NullPointerException - if filename is null
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||