public interface FileNameValidator
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(org.uberfire.backend.vfs.Path path)
Indicates if the current parameter path matched the current validator
|
boolean |
accept(String fileName)
Indicates if the current parameter path matched the current validator
|
int |
getPriority()
Defines the validator priority in terms of validator resolution.
|
boolean |
isValid(String value)
Validate the value
|
int getPriority()
boolean accept(String fileName)
fileName - File name to validate (including extension)boolean accept(org.uberfire.backend.vfs.Path path)
path - Path to validateboolean isValid(String value)
value - Value to be validatedCopyright © 2012–2016 JBoss by Red Hat. All rights reserved.