Package org.sunflow.system
Class FileUtils
java.lang.Object
org.sunflow.system.FileUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final String
getExtension
(String filename) Extract the file extension from the specified filename.
-
Constructor Details
-
FileUtils
public FileUtils()
-
-
Method Details
-
getExtension
Extract the file extension from the specified filename.- Parameters:
filename
- filename to get the extension of- Returns:
- a string representing the file extension, or
null
if the filename doesn't have any extension, or is not a file
-