Package yahoofinance.query2v8
Class HistQuotesQuery2V8Request
- java.lang.Object
-
- yahoofinance.query2v8.HistQuotesQuery2V8Request
-
public class HistQuotesQuery2V8Request extends java.lang.Object- Author:
- Stijn Strickx
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.CalendarDEFAULT_FROMstatic QueryIntervalDEFAULT_INTERVALstatic java.util.CalendarDEFAULT_TO
-
Constructor Summary
Constructors Constructor Description HistQuotesQuery2V8Request(java.lang.String symbol)HistQuotesQuery2V8Request(java.lang.String symbol, java.util.Calendar from, java.util.Calendar to)HistQuotesQuery2V8Request(java.lang.String symbol, java.util.Calendar from, java.util.Calendar to, QueryInterval interval)HistQuotesQuery2V8Request(java.lang.String symbol, java.util.Date from, java.util.Date to)HistQuotesQuery2V8Request(java.lang.String symbol, java.util.Date from, java.util.Date to, QueryInterval interval)HistQuotesQuery2V8Request(java.lang.String symbol, QueryInterval interval)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetJson()java.util.List<HistoricalQuote>getResult()
-
-
-
Field Detail
-
DEFAULT_FROM
public static final java.util.Calendar DEFAULT_FROM
-
DEFAULT_TO
public static final java.util.Calendar DEFAULT_TO
-
DEFAULT_INTERVAL
public static final QueryInterval DEFAULT_INTERVAL
-
-
Constructor Detail
-
HistQuotesQuery2V8Request
public HistQuotesQuery2V8Request(java.lang.String symbol)
-
HistQuotesQuery2V8Request
public HistQuotesQuery2V8Request(java.lang.String symbol, QueryInterval interval)
-
HistQuotesQuery2V8Request
public HistQuotesQuery2V8Request(java.lang.String symbol, java.util.Calendar from, java.util.Calendar to)
-
HistQuotesQuery2V8Request
public HistQuotesQuery2V8Request(java.lang.String symbol, java.util.Calendar from, java.util.Calendar to, QueryInterval interval)
-
HistQuotesQuery2V8Request
public HistQuotesQuery2V8Request(java.lang.String symbol, java.util.Date from, java.util.Date to)
-
HistQuotesQuery2V8Request
public HistQuotesQuery2V8Request(java.lang.String symbol, java.util.Date from, java.util.Date to, QueryInterval interval)
-
-
Method Detail
-
getResult
public java.util.List<HistoricalQuote> getResult() throws java.io.IOException
- Throws:
java.io.IOException
-
getJson
public java.lang.String getJson() throws java.io.IOException- Throws:
java.io.IOException
-
-