Interface TextLineReader.Parser<T>

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

    Modifier and Type
    Method
    Description
    parse(String line)
    Parse one line into some custom object.
  • Method Details

    • parse

      T parse(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