FileUtil#getValidFileName(String)
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static String | Returns: a clean filenamethe fileName to clean badFileName)Replaces illegal characters in given directoryName by '_'. |
| public static String | Returns: a clean filenamethe fileName to clean badFileName)Replaces illegal characters in given fileName by '_' |
| FileNameCleaner | back to summary |
|---|---|
| private FileNameCleaner() | |
| cleanDirectoryName | back to summary |
|---|---|
| public static String cleanDirectoryName(String badFileName) Replaces illegal characters in given directoryName by '_'. Directory name may contain directory separators, e.g. 'deep/in/a/tree'; these are left untouched. | |
| cleanFileName | back to summary |
|---|---|
| public static String cleanFileName(String badFileName) Replaces illegal characters in given fileName by '_' | |