com.healthmarketscience.jackcess.util
Class SimpleColumnValidator
java.lang.Object
com.healthmarketscience.jackcess.util.SimpleColumnValidator
- All Implemented Interfaces:
- ColumnValidator
public class SimpleColumnValidator
- extends Object
- implements ColumnValidator
Simple concrete implementation of ColumnValidator which simply returns the
given value.
- Author:
- James Ahlborn
|
Method Summary |
Object |
validate(Column col,
Object val)
Validates and/or manipulates the given potential new value for the given
column. |
INSTANCE
public static final SimpleColumnValidator INSTANCE
SimpleColumnValidator
public SimpleColumnValidator()
validate
public Object validate(Column col,
Object val)
throws IOException
- Description copied from interface:
ColumnValidator
- Validates and/or manipulates the given potential new value for the given
column. This method may return an entirely different value or throw an
exception if the input value is not valid.
- Specified by:
validate in interface ColumnValidator
- Throws:
IOException
Copyright © 2005-2015 Health Market Science. All Rights Reserved.