Package cdc.validation.checkers.defaults
Class IsExistingFile
- java.lang.Object
-
- cdc.validation.checkers.defaults.IsExistingFile
-
-
Field Summary
Fields Modifier and Type Field Description static Factory<IsExistingFile>FACTORYstatic IsExistingFileINSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringexplain(boolean result, String arg)Explains the conditions at which a positive or negative result is obtained.Class<File>getValueClass()booleantest(File value)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface cdc.validation.checkers.Checker
after, after, afterRaw, and, andRaw, cast, cast, explain, explain, negate, or, orRaw, testAndExplain, testAndExplain, testAndExplainRaw, testAndExplainRaw, testRaw, wrap
-
-
-
-
Field Detail
-
INSTANCE
public static final IsExistingFile INSTANCE
-
FACTORY
public static final Factory<IsExistingFile> FACTORY
-
-
Method Detail
-
getValueClass
public Class<File> getValueClass()
- Specified by:
getValueClassin interfaceChecker<File>- Returns:
- The class of tested values.
-
test
public boolean test(File value)
-
-