com.limegroup.gnutella.updates
Class UpdateFileParser

java.lang.Object
  extended bycom.limegroup.gnutella.updates.UpdateFileParser

public class UpdateFileParser
extends java.lang.Object


Constructor Summary
UpdateFileParser(java.lang.String xml)
           
 
Method Summary
 java.lang.String getMessage()
           
 java.lang.String getVersion()
           
 boolean usesLocale()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateFileParser

public UpdateFileParser(java.lang.String xml)
                 throws org.xml.sax.SAXException,
                        java.io.IOException
Method Detail

getVersion

public java.lang.String getVersion()
Returns:
the value of new version we parsed out of XML. Can return null.

usesLocale

public boolean usesLocale()
Returns:
true if the message was picked up as per the locale, else false

getMessage

public java.lang.String getMessage()
Returns:
the message to show the user.