- java.lang.Object
-
- org.ojalgo.data.domain.finance.series.AlphaVantageParser
-
- All Implemented Interfaces:
BasicParser<AlphaVantageParser.Data>,TextLineReader.Parser<AlphaVantageParser.Data>
public class AlphaVantageParser extends java.lang.Object implements BasicParser<AlphaVantageParser.Data>
https://www.alphavantage.co/documentation/
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAlphaVantageParser.Data
-
Field Summary
Fields Modifier and Type Field Description static AlphaVantageParserINSTANCE
-
Constructor Summary
Constructors Constructor Description AlphaVantageParser()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AlphaVantageParser.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 AlphaVantageParser INSTANCE
-
-
Method Detail
-
testHeader
public static boolean testHeader(java.lang.String header)
Checks if the header matches what this parser can handle.
-
parse
public AlphaVantageParser.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<AlphaVantageParser.Data>- Parameters:
line- The text line to parse- Returns:
- An object containing (referencing) the parsed data
-
-