public abstract static class Common.NullableParserFormatter<O> extends Object implements ValueParserFormatter<O>
| Modifier and Type | Field and Description |
|---|---|
protected O |
defaultValue |
protected boolean |
nullAllowed |
| Modifier | Constructor and Description |
|---|---|
protected |
Common.NullableParserFormatter(O defaultValue,
boolean nullAllowed) |
| Modifier and Type | Method and Description |
|---|---|
O |
parse(String value) |
protected abstract O |
parseNoneEmptyValue(String value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitformatprotected O defaultValue
protected boolean nullAllowed
protected Common.NullableParserFormatter(O defaultValue, boolean nullAllowed)
public O parse(String value) throws ParseException
parse in interface ValueParser<O>ParseExceptionCopyright © 2011-2012 CodeLutin. All Rights Reserved.