public class FileNameValidator
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FILENAME_ILLEGAL_REGEX
The bad file name pattern.
|
Constructor and Description |
---|
FileNameValidator() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getValidFileName(java.lang.String fileName)
Replaces illegal filename characters with '_'
|
static boolean |
isValid(java.lang.String name) |
public static final java.lang.String FILENAME_ILLEGAL_REGEX
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.