Class FilenameUtility

java.lang.Object
gov.nasa.pds.tools.util.FilenameUtility

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

    • FilenameUtility

      public FilenameUtility()
  • Method Details

    • 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