- 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 CalendarDateUnitmyResolutionprivate ServiceClient.SessionmySessionprivate java.lang.StringmySymbol
-
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.InputStreamgetInputStream()CalendarDateUnitgetResolution()java.lang.StringgetSymbol()-
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:
getInputStreamin interfaceDataFetcher
-
getResolution
public CalendarDateUnit getResolution()
- Specified by:
getResolutionin interfaceDataFetcher- Returns:
- Typically DAY(ly), WEEK(ly) or MONTH(ly)
-
getSymbol
public java.lang.String getSymbol()
- Specified by:
getSymbolin interfaceDataFetcher- Returns:
- Data identifier
-
-