Package org.ojalgo.netio
Interface BasicParser<T>
- All Superinterfaces:
TextLineReader.Parser<T>
- All Known Implementing Classes:
AlphaVantageParser
,DatePriceParser
,DetectingParser
,EnumeratedColumnsParser
,IEXTradingParser
,LineSplittingParser
,YahooParser
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A (CSV) parser interface. Could theoretically parse anything, but is primarily aimed towards parsing
delimited text lines.
The default implementations are based on TextLineReader
.
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
Will parse this file, line by line, passing the reulting objects (1 per line) to the supplied consumer.default void
Will parse this file, line by line, passing the resulting objects (1 per line) to the supplied consumer.default void
default void
default void
default void
default void
default void
Methods inherited from interface org.ojalgo.netio.TextLineReader.Parser
parse
-
Method Details
-
parse
Will parse this file, line by line, passing the reulting objects (1 per line) to the supplied consumer.- Parameters:
file
- The CSV file to parseskipHeader
- Should skip (1) header row/lineconsumer
- The results consumer
-
parse
Will parse this file, line by line, passing the resulting objects (1 per line) to the supplied consumer.- Parameters:
file
- The CSV file to parseconsumer
- The results consumer
-
parse
- Parameters:
reader
- The CSV data readerskipHeader
- Should skip (1) header row/lineconsumer
- The results consumer
-
parse
- Parameters:
reader
- The CSV data readerconsumer
- The results consumer
-
parse
-
parse
-
parse
-
parse
-