org.kie.workbench.common.services.backend.validation
Class JavaFileNameValidator
java.lang.Object
org.kie.workbench.common.services.backend.validation.JavaFileNameValidator
- All Implemented Interfaces:
- org.uberfire.ext.editor.commons.backend.validation.FileNameValidator
@ApplicationScoped
public class JavaFileNameValidator
- extends Object
- implements org.uberfire.ext.editor.commons.backend.validation.FileNameValidator
Java file name validator.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaFileNameValidator
public JavaFileNameValidator()
getPriority
public int getPriority()
- Specified by:
getPriority in interface org.uberfire.ext.editor.commons.backend.validation.FileNameValidator
accept
public boolean accept(String fileName)
- Specified by:
accept in interface org.uberfire.ext.editor.commons.backend.validation.FileNameValidator
accept
public boolean accept(org.uberfire.backend.vfs.Path path)
- Specified by:
accept in interface org.uberfire.ext.editor.commons.backend.validation.FileNameValidator
isValid
public boolean isValid(String value)
- Specified by:
isValid in interface org.uberfire.ext.editor.commons.backend.validation.FileNameValidator
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.