de.lmu.ifi.dbs.elki.utilities
Class FileUtil
java.lang.Object
de.lmu.ifi.dbs.elki.utilities.FileUtil
public final class FileUtil
- extends Object
Various static helper methods to deal with files and file names.
- Author:
- Erich Schubert
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileUtil
public FileUtil()
getFilenameExtension
public static String getFilenameExtension(File file)
- Returns the lower case extension of the selected file.
If no file is selected,
null
is returned.
- Returns:
- Returns the extension of the selected file in lower case or
null
getFilenameExtension
public static String getFilenameExtension(String name)
- Returns the lower case extension of the selected file.
If no file is selected,
null
is returned.
- Returns:
- Returns the extension of the selected file in lower case or
null