Package gov.nasa.pds.tools.util
Class FilenameUtility
java.lang.Object
gov.nasa.pds.tools.util.FilenameUtility
Class that sanitizes the directory and file name by using the decode function to replacing '%20'
with ' '.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringdecodeSpace(String filename) Returns the file name replacing the '%20' with ' ' character.
-
Constructor Details
-
FilenameUtility
public FilenameUtility()
-
-
Method Details
-
decodeSpace
Returns the file name replacing the '%20' with ' ' character.- Parameters:
filename- The filename of the file- Returns:
- decodedName The decoded filename of the file
-