|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nih.nci.caarray.services.util.file.FileUtility
public class FileUtility
Provides utility functions to assist in local file system management.
Method Summary | |
---|---|
static java.lang.String |
getExtension(java.io.File file)
Returns the extension part of the file's name. |
static java.lang.String |
getExtension(java.lang.String filename)
Returns the extension part of the file's name. |
static java.lang.String |
stripExtension(java.lang.String fileName)
Returns the given filename with the extension (if any) stripped out. |
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 getExtension(java.lang.String filename)
filename
- get the extension from this file name.
public static java.lang.String getExtension(java.io.File file)
file
- get the extension of this file.
public static java.lang.String stripExtension(java.lang.String fileName)
fileName
- the filename
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |