Class YahooParser
- java.lang.Object
-
- org.ojalgo.data.domain.finance.series.YahooParser
-
- All Implemented Interfaces:
BasicParser<YahooParser.Data>
,TextLineReader.Parser<YahooParser.Data>
public class YahooParser extends java.lang.Object implements BasicParser<YahooParser.Data>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
YahooParser.Data
-
Field Summary
Fields Modifier and Type Field Description static YahooParser
INSTANCE
-
Constructor Summary
Constructors Constructor Description YahooParser()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description YahooParser.Data
parse(java.lang.String line)
Parse one line into some custom object.static boolean
testHeader(java.lang.String header)
Checks if the header matches what this parser can handle.
-
-
-
Field Detail
-
INSTANCE
public static final YahooParser INSTANCE
-
-
Method Detail
-
testHeader
public static boolean testHeader(java.lang.String header)
Checks if the header matches what this parser can handle.
-
parse
public YahooParser.Data parse(java.lang.String line)
Description copied from interface:TextLineReader.Parser
Parse one line into some custom object. Returning null indicates that parsing failed!- Specified by:
parse
in interfaceTextLineReader.Parser<YahooParser.Data>
- Parameters:
line
- The text line to parse- Returns:
- An object containing (referencing) the parsed data
-
-