Package com.coreoz.plume.file.utils
Class FileNames
- java.lang.Object
-
- com.coreoz.plume.file.utils.FileNames
-
public class FileNames extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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 Detail
-
cleanExtensionName
@Nullable public static String cleanExtensionName(String fileExtension)
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
-
-