Class Common.NullableParserFormatter<O>
java.lang.Object
org.nuiton.csv.Common.NullableParserFormatter<O>
- All Implemented Interfaces:
ValueFormatter<O>, ValueParser<O>, ValueParserFormatter<O>
- Direct Known Subclasses:
Common.BooleanParserFormatter, Common.CharacterParserFormatter, Common.DoubleParserFormatter, Common.FloatParserFormatter, Common.IntegerParserFormatter, Common.ListValueParser, Common.LongParserFormatter, Common.ShortParserFormatter
- Enclosing class:
Common
public abstract static class Common.NullableParserFormatter<O>
extends Object
implements ValueParserFormatter<O>
- Since:
- 2.4
- Author:
- Brendan Le Ny - leny@codelutin.com, Tony Chemit - chemit@codelutin.com
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedNullableParserFormatter(O defaultValue, boolean nullAllowed) -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ValueFormatter
format
-
Field Details
-
defaultValue
-
nullAllowed
protected boolean nullAllowed
-
-
Constructor Details
-
NullableParserFormatter
-
-
Method Details
-
parseNoneEmptyValue
- Throws:
ParseException
-
parse
- Specified by:
parsein interfaceValueParser<O>- Throws:
ParseException
-