Class FileNames


  • public class FileNames
    extends Object
    • 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