@AlfrescoPublicApi public class FileNameValidator extends Object
Modifier and Type | Field and Description |
---|---|
static String |
FILENAME_ILLEGAL_REGEX
The bad file name pattern.
|
Constructor and Description |
---|
FileNameValidator() |
Modifier and Type | Method and Description |
---|---|
static String |
getValidFileName(String fileName)
Replaces illegal filename characters with '_'
|
static boolean |
isValid(String name) |
public static final String FILENAME_ILLEGAL_REGEX
Copyright © 2005–2017 Alfresco Software. All rights reserved.