public class FilenameUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
REGEXP_ILLEGAL_CHARACTERS_OTHERS
Valid characters for all UNIX-like OS.
|
static String |
REGEXP_ILLEGAL_CHARACTERS_OTHERS_PATH |
static String |
REGEXP_ILLEGAL_CHARACTERS_WINDOWS
Valid characters for Windows in file names:
Based on http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx
|
static String |
REGEXP_ILLEGAL_CHARACTERS_WINDOWS_PATH |
| Constructor and Description |
|---|
FilenameUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
checkDateiname(String name,
boolean isPath) |
static String |
removeIllegalCharacters(String input,
boolean isPath)
Remove illegal characters from String based on current OS.
|
static String |
replaceLeerDateiname(String name,
boolean isPath,
boolean userReplace,
boolean onlyAscii)
Entferne verbotene Zeichen aus Dateiname.
|
public static final String REGEXP_ILLEGAL_CHARACTERS_WINDOWS
public static final String REGEXP_ILLEGAL_CHARACTERS_WINDOWS_PATH
public static final String REGEXP_ILLEGAL_CHARACTERS_OTHERS
public static final String REGEXP_ILLEGAL_CHARACTERS_OTHERS_PATH
Copyright © 2020. All rights reserved.