Package com.coreoz.plume.file.utils
Class FileNames
java.lang.Object
com.coreoz.plume.file.utils.FileNames
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringcleanExtensionName(String fileExtension) Transform to extension to lower case and remove all characters that are not numbers or between 'a' and 'z'static StringparseFileNameExtension(String fileName)
-
Method Details
-
cleanExtensionName
Transform to extension to lower case and remove all characters that are not numbers or between 'a' and 'z'- Parameters:
fileExtension- the file name extension, e.g.jpg- Returns:
- the clean file extension, null if fileExtension is null
-
parseFileNameExtension
-