- 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 classYahooParser.Data
-
Field Summary
Fields Modifier and Type Field Description static YahooParserINSTANCE
-
Constructor Summary
Constructors Constructor Description YahooParser()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description YahooParser.Dataparse(java.lang.String line)Parse one line into some custom object.static booleantestHeader(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.ParserParse one line into some custom object. Returning null indicates that parsing failed!- Specified by:
parsein interfaceTextLineReader.Parser<YahooParser.Data>- Parameters:
line- The text line to parse- Returns:
- An object containing (referencing) the parsed data
-
-