org.walluck.oscar.handlers.stocks
Class StocksHandler
java.lang.Object
org.walluck.oscar.handlers.stocks.StocksHandler
public class StocksHandler
- extends Object
Stocks stuff.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- David Walluck
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StocksHandler
public StocksHandler()
getStocks
public ArrayList getStocks(String symbols)
- Retrieve the given stocks.
- Parameters:
symbols
- a string containing the stock symbols, separated by a
comma
- Returns:
- a list containing the
Stock
objects
saveStocks
public void saveStocks(ArrayList stocks)
- Save a given list of stocks to a file.
- Parameters:
stocks
- the list of Stock
objects