Class YahooSession.Fetcher
- java.lang.Object
-
- org.ojalgo.data.domain.finance.series.YahooSession.Fetcher
-
- All Implemented Interfaces:
DataFetcher
- Enclosing class:
- YahooSession
public static final class YahooSession.Fetcher extends java.lang.Object implements DataFetcher
-
-
Field Summary
Fields Modifier and Type Field Description private CalendarDateUnit
myResolution
private ServiceClient.Session
mySession
private java.lang.String
mySymbol
-
Constructor Summary
Constructors Constructor Description Fetcher(ServiceClient.Session session, java.lang.String symbol, CalendarDateUnit resolution)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.InputStream
getInputStream()
CalendarDateUnit
getResolution()
java.lang.String
getSymbol()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.ojalgo.data.domain.finance.series.DataFetcher
getReader
-
-
-
-
Field Detail
-
myResolution
private final CalendarDateUnit myResolution
-
mySession
private final ServiceClient.Session mySession
-
mySymbol
private final java.lang.String mySymbol
-
-
Constructor Detail
-
Fetcher
Fetcher(ServiceClient.Session session, java.lang.String symbol, CalendarDateUnit resolution)
-
-
Method Detail
-
getInputStream
public java.io.InputStream getInputStream()
- Specified by:
getInputStream
in interfaceDataFetcher
-
getResolution
public CalendarDateUnit getResolution()
- Specified by:
getResolution
in interfaceDataFetcher
- Returns:
- Typically DAY(ly), WEEK(ly) or MONTH(ly)
-
getSymbol
public java.lang.String getSymbol()
- Specified by:
getSymbol
in interfaceDataFetcher
- Returns:
- Data identifier
-
-