com.sun.opengl.util
public class FileUtil extends Object
Modifier and Type | Method and Description |
---|---|
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).
|
public static String getFileSuffix(File file)
file
- name of the fileNullPointerException
- if file is nullpublic static String getFileSuffix(String filename)
filename
- name of the fileNullPointerException
- if filename is nullCopyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.