Class YahooSession.Fetcher
java.lang.Object
org.ojalgo.data.domain.finance.series.YahooSession.Fetcher
- All Implemented Interfaces:
DataFetcher
- Enclosing class:
YahooSession
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final CalendarDateUnitprivate final ServiceClient.Sessionprivate final String -
Constructor Summary
ConstructorsConstructorDescriptionFetcher(ServiceClient.Session session, String symbol, CalendarDateUnit resolution) -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface DataFetcher
getReader
-
Field Details
-
myResolution
-
mySession
-
mySymbol
-
-
Constructor Details
-
Fetcher
Fetcher(ServiceClient.Session session, String symbol, CalendarDateUnit resolution)
-
-
Method Details
-
getInputStream
- Specified by:
getInputStreamin interfaceDataFetcher
-
getResolution
- Specified by:
getResolutionin interfaceDataFetcher- Returns:
- Typically DAY(ly), WEEK(ly) or MONTH(ly)
-
getSymbol
- Specified by:
getSymbolin interfaceDataFetcher- Returns:
- Data identifier
-