jgnash.net.currency
Class YahooParser

java.lang.Object
  extended by jgnash.net.currency.YahooParser
All Implemented Interfaces:
CurrencyParser

public class YahooParser
extends java.lang.Object
implements CurrencyParser

A CurrencyParser for the Yahoo finance site.

Version:
$Id$
Author:
Craig Cavanaugh

Field Summary
private  java.net.URLConnection connection
           
private  java.math.BigDecimal result
           
 
Constructor Summary
YahooParser()
           
 
Method Summary
 java.net.URLConnection getConnection()
           
 java.math.BigDecimal getConversion()
           
 boolean parse(java.lang.String source, java.lang.String target)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

result

private java.math.BigDecimal result

connection

private java.net.URLConnection connection
Constructor Detail

YahooParser

public YahooParser()
Method Detail

parse

public boolean parse(java.lang.String source,
                     java.lang.String target)
Specified by:
parse in interface CurrencyParser

getConnection

public java.net.URLConnection getConnection()
Specified by:
getConnection in interface CurrencyParser

getConversion

public java.math.BigDecimal getConversion()
Specified by:
getConversion in interface CurrencyParser