public class ExtensionFunctions
extends java.lang.Object
| Constructor and Description |
|---|
ExtensionFunctions() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getExtension(java.io.File f)
Returns the file extension of a specified
File as a String (without the leading '.'). |
public static java.lang.String getExtension(java.io.File f)
File as a String (without the leading '.').
If there is no file extension an empty String is returned.f - a File object.