reorganize validation package

This commit is contained in:
2016-09-12 04:48:22 +02:00
committed by Andreas Billmann
parent 7723906935
commit 4002219dfe
27 changed files with 274 additions and 167 deletions

View File

@@ -0,0 +1,12 @@
package ninja.javafx.smartcsv.validation.checker;
/**
* validations based on this are not validated when the value is null or empty
*/
public abstract class EmptyValueIsValid implements Validation {
@Override
public boolean canBeChecked(String value) {
return value != null && !value.isEmpty();
}
}