public final class FileUtils
extends java.lang.Object
Constructor and Description |
---|
FileUtils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getExtension(java.lang.String filename)
Extract the file extension from the specified filename.
|
public static final java.lang.String getExtension(java.lang.String filename)
filename
- filename to get the extension ofnull
if the filename doesn't have any extension, or is not a file