@ApplicationScoped public class BPMN2FileNameValidator extends Object implements org.uberfire.ext.editor.commons.backend.validation.FileNameValidator
| Constructor and Description |
|---|
BPMN2FileNameValidator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(org.uberfire.backend.vfs.Path path) |
boolean |
accept(String fileName) |
int |
getPriority() |
boolean |
isValid(String value) |
public int getPriority()
getPriority in interface org.uberfire.ext.editor.commons.backend.validation.FileNameValidatorpublic boolean accept(String fileName)
accept in interface org.uberfire.ext.editor.commons.backend.validation.FileNameValidatorpublic boolean accept(org.uberfire.backend.vfs.Path path)
accept in interface org.uberfire.ext.editor.commons.backend.validation.FileNameValidatorpublic boolean isValid(String value)
isValid in interface org.uberfire.ext.editor.commons.backend.validation.FileNameValidatorCopyright © 2001–2016 JBoss by Red Hat. All rights reserved.