celeboss.HTMLload
Class LeagueParser

java.lang.Object
  extended byceleboss.HTMLload.HTMLParser
      extended byceleboss.HTMLload.LeagueParser

public class LeagueParser
extends HTMLParser

This class parsers a HTML stream to extract the mini leagues details.

Version:
1.0
Author:
bevans

Constructor Summary
LeagueParser(java.io.InputStream stream)
          Create a parser to extract the mini-league information
 
Method Summary
 boolean parseDetails(MiniLeague league)
          Parser the details of the stream.
 
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

LeagueParser

public LeagueParser(java.io.InputStream stream)
Create a parser to extract the mini-league information

Parameters:
stream - Incoming stream.
Method Detail

parseDetails

public boolean parseDetails(MiniLeague league)
                     throws java.io.IOException
Parser the details of the stream.

Parameters:
league - League to update
Returns:
True if the operation was successful
Throws:
java.io.IOException - Problem parsing league.