|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.spy.info.Stocks
Get stock quotes.
| Constructor Summary | |
Stocks()
Get a stock quote gettin' object. |
|
| Method Summary | |
StockQuote |
getQuote(String symbol)
Get a StockQuote for a given symbol. |
Map |
getQuotes(String[] symbols)
Get multiple stock quotes given an array of ticker symbols. |
static void |
main(String[] args)
Test program, call it with ticker symbols on the commandline. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Stocks()
| Method Detail |
public StockQuote getQuote(String symbol)
throws Exception
symbol - which stock to look up.
Exception - when a lookup fails.
public Map getQuotes(String[] symbols)
throws Exception
symbols - list of symbols to look up
Exception - when there's a problem looking up symbols
public static void main(String[] args)
throws Exception
Exception - when something goes terribly wrong.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||