|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectceleboss.HTMLload.HTMLParser
celeboss.HTMLload.CelebParser
This class uses a HTMLDataSource to load details about a specific celebrity.
| Constructor Summary | |
CelebParser(java.io.InputStream in)
Creates a parser that will extract information from a HTML file representing the Celebrity details. |
|
| Method Summary | |
java.util.Collection |
parseDetails(Portfolio owner,
Celebrity target)
This method parses the incoming InputStream that is a HTML data containing Celebrity details. |
| Methods inherited from class celeboss.HTMLload.HTMLParser |
close, convertMoney, convertPerc, extractTitledValue, getChar, getMillions, getNextValue, setReturnTags |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CelebParser(java.io.InputStream in)
in - Input stream containig raw HTML.| Method Detail |
public java.util.Collection parseDetails(Portfolio owner,
Celebrity target)
throws java.io.IOException
owner - The portfolil that owner the shares; could be null.target - Celebrity to update.
java.io.IOException - Some problem accessing the remote source.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||