public class ParseLocalTime extends AbstractTemporalAccessorParsingProcessor<LocalTime>
DateTimeFormatter - formats by pattern and styleDateTimeFormatter - ISO 8601 formatsDateTimeFormatterBuilder - complex formats created via method
callsnext| Constructor and Description |
|---|
ParseLocalTime()
Constructs a new ParseLocalTime processor, which parses a
String as a LocalTime, accepting the same format as
LocalTime.parse(CharSequence) |
ParseLocalTime(CellProcessor next)
Constructs a new ParseLocalTime processor, which parses a
String as a LocalTime, then calls the next processor in the
chain.
|
ParseLocalTime(DateTimeFormatter formatter)
Constructs a new ParseLocalTime processor, which parses a
String as a LocalTime using the supplied formatter.
|
ParseLocalTime(DateTimeFormatter formatter,
CellProcessor next)
Constructs a new ParseLocalTime processor, which parses a
String as a LocalTime using the supplied formatter, then calls
the next processor in the chain.
|
| Modifier and Type | Method and Description |
|---|---|
protected LocalTime |
parse(String string)
Parses the String into the appropriate
TemporalAccessor type. |
protected LocalTime |
parse(String string,
DateTimeFormatter formatter)
Parses the String into the appropriate
TemporalAccessor type, using the supplied
formatter. |
executetoString, validateInputNotNullpublic ParseLocalTime()
LocalTime.parse(CharSequence)public ParseLocalTime(CellProcessor next)
next - the next processor in the chainNullPointerException - if next is nullParseLocalTime()public ParseLocalTime(DateTimeFormatter formatter)
formatter - the formatter used for parsingNullPointerException - if formatter is nullpublic ParseLocalTime(DateTimeFormatter formatter, CellProcessor next)
formatter - the formatter used for parsingnext - the next processor in the chainNullPointerException - if formatter or next is nullprotected LocalTime parse(String string)
TemporalAccessor type.parse in class AbstractTemporalAccessorParsingProcessor<LocalTime>string - the string to parseTemporalAccessor typeprotected LocalTime parse(String string, DateTimeFormatter formatter)
TemporalAccessor type, using the supplied
formatter.parse in class AbstractTemporalAccessorParsingProcessor<LocalTime>string - the string to parseformatter - the formatter to useTemporalAccessor typeCopyright © 2007–2015 Super CSV. All rights reserved.