public static class Common.ListValueParser<E> extends Common.NullableParserFormatter<List<E>>
ValueParserFormatter to deal it.| Modifier and Type | Field and Description |
|---|---|
protected com.google.common.base.Joiner |
joiner |
protected com.google.common.base.Splitter |
splitter |
protected ValueParserFormatter<E> |
valueParserFormater |
defaultValue, nullAllowed| Constructor and Description |
|---|
ListValueParser(char separator,
ValueParserFormatter<E> valueParserFormatter,
List<E> defaultValue,
boolean nullAllowed) |
| Modifier and Type | Method and Description |
|---|---|
String |
format(List<E> values) |
protected List<E> |
parseNoneEmptyValue(String value) |
parseprotected ValueParserFormatter<E> valueParserFormater
protected com.google.common.base.Splitter splitter
protected com.google.common.base.Joiner joiner
public ListValueParser(char separator,
ValueParserFormatter<E> valueParserFormatter,
List<E> defaultValue,
boolean nullAllowed)
protected List<E> parseNoneEmptyValue(String value) throws ParseException
parseNoneEmptyValue in class Common.NullableParserFormatter<List<E>>ParseExceptionCopyright © 2013–2022 Code Lutin. All rights reserved.