finance.stocks.stockViewer
Class TickerUtils
java.lang.Object
finance.stocks.stockViewer.TickerUtils
public class TickerUtils
- extends java.lang.Object
User: lyon
Date: Jul 9, 2007
Time: 5:06:46 AM
Copyright DocJava, Inc. 2005.
Method Summary |
static java.lang.String |
buildTickerSearchString(java.lang.String ticker)
|
static boolean |
checkTickerValid(java.lang.String ticker)
checkTickerValid will determine if a specified ticker is valid
by querying the finances.yahoo.com website, and searching the
html of the page for strings that will say the ticker is not
valid |
static java.lang.String |
getTickerGui()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TickerUtils
public TickerUtils()
getTickerGui
public static java.lang.String getTickerGui()
checkTickerValid
public static boolean checkTickerValid(java.lang.String ticker)
throws java.io.IOException
- checkTickerValid will determine if a specified ticker is valid
by querying the finances.yahoo.com website, and searching the
html of the page for strings that will say the ticker is not
valid
- Parameters:
ticker
-
- Returns:
- true if valid
- Throws:
java.io.IOException
buildTickerSearchString
public static java.lang.String buildTickerSearchString(java.lang.String ticker)