|
Kie Workbench - Common - Services API 6.2.0.Beta1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FileNameValidator
Generic validator for Path based resources
| Method Summary | |
|---|---|
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 |
| Method Detail |
|---|
int getPriority()
boolean accept(String fileName)
fileName - File name to validate (including extension)
boolean accept(org.uberfire.backend.vfs.Path path)
path - Path to validate
boolean isValid(String value)
value - Value to be validated
|
Kie Workbench - Common - Services API 6.2.0.Beta1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||