-
- All Known Subinterfaces:
BasicParser<T>,TextLineInterpreter<T>
- All Known Implementing Classes:
AlphaVantageParser,DatePriceParser,DatePriceParser.DefaultParser,DetectingParser,EnumeratedColumnsParser,IEXTradingParser,LineSplittingParser,YahooParser
- Enclosing class:
- TextLineReader
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface TextLineReader.Parser<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tparse(java.lang.String line)Parse one line into some custom object.
-
-
-
Method Detail
-
parse
T parse(java.lang.String line)
Parse one line into some custom object. Returning null indicates that parsing failed!- Parameters:
line- The text line to parse- Returns:
- An object containing (referencing) the parsed data
-
-