Package org.opencms.ade.postupload
Class CmsServerFilenameValidator
java.lang.Object
org.opencms.ade.postupload.CmsServerFilenameValidator
- All Implemented Interfaces:
I_CmsValidationService
Checks whether an uploaded file's modified name is already used by another file.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionValidates a single form field value.
-
Constructor Details
-
CmsServerFilenameValidator
public CmsServerFilenameValidator()
-
-
Method Details
-
validate
Description copied from interface:I_CmsValidationService
Validates a single form field value.- Specified by:
validate
in interfaceI_CmsValidationService
- Parameters:
cms
- the CMS contextvalue
- the value to validateconfig
- the configuration string for the validator- Returns:
- the result of the validation
- See Also:
-