celeboss.HTMLload
Class LeagueOfLeagueParser

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

public class LeagueOfLeagueParser
extends HTMLParser

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

Version:
1.0
Author:
bevans

Constructor Summary
LeagueOfLeagueParser(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

LeagueOfLeagueParser

public LeagueOfLeagueParser(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.