org.nuiton.util.csv
Class Common.NullableParserFormatter<O>
java.lang.Object
org.nuiton.util.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.LongParserFormatter
- Enclosing class:
- Common
public abstract static class Common.NullableParserFormatter<O>
- extends Object
- implements ValueParserFormatter<O>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
defaultValue
protected O defaultValue
nullAllowed
protected boolean nullAllowed
Common.NullableParserFormatter
protected Common.NullableParserFormatter(O defaultValue,
boolean nullAllowed)
parseNoneEmptyValue
protected abstract O parseNoneEmptyValue(String value)
parse
public O parse(String value)
throws ParseException
- Specified by:
parse in interface ValueParser<O>
- Throws:
ParseException
Copyright © 2011-2012 CodeLutin. All Rights Reserved.