com.sun.opengl.util
Class FileUtil
Utilities for dealing with files.
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).
|
getFileSuffix
public static String getFileSuffix(File file)
Returns the lowercase suffix of the given file name (the text
after the last '.' in the file name). Returns null if the file
name has no suffix. Only operates on the given file name;
performs no I/O operations.
- lowercase suffix of the file name
getFileSuffix
public static String getFileSuffix(String filename)
Returns the lowercase suffix of the given file name (the text
after the last '.' in the file name). Returns null if the file
name has no suffix. Only operates on the given file name;
performs no I/O operations.
filename
- name of the file
- lowercase suffix of the file name
Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.