public final class FilenameUtils extends Object
Modifier and Type | Field and Description |
---|---|
private static String |
__FORBIDDEN_CHARACTERS |
Modifier | Constructor and Description |
---|---|
private |
FilenameUtils()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
static String |
sanitize(String filename)
Sanitize a file name, i.e.
|
private static final String __FORBIDDEN_CHARACTERS
private FilenameUtils()
public static String sanitize(String filename)
filename
- The file name to sanitize