Class FilenameUtility


  • public class FilenameUtility
    extends Object
    Class that sanitizes the directory and file name by using the decode function to replacing '%20' with ' '.
    • Constructor Detail

      • FilenameUtility

        public FilenameUtility()
    • Method Detail

      • decodeSpace

        public static String decodeSpace​(String filename)
        Returns the file name replacing the '%20' with ' ' character.
        Parameters:
        filename - The filename of the file
        Returns:
        decodedName The decoded filename of the file