| java.lang.Object org.gnu.stealthp.rsslib.RSSParser
RSSParser | public class RSSParser (Code) | | RSS Parser.
This module, both source code and documentation, is in the
Public Domain, and comes with NO WARRANTY.
since: RSSLIB4J 0.1 author: Francesco aka 'Stealthp' stealthp[@]stealthp.org version: 0.2 |
RSSParser | public RSSParser()(Code) | | |
free | public void free()(Code) | | Call it at the end of the work to preserve memory
|
parseXmlFile | public static void parseXmlFile(String filename, DefaultHandler handler, boolean validating) throws RSSException(Code) | | Parse rss file
Parameters: filename - local file name Parameters: handler - the handler Parameters: validating - validate document?? throws: RSSException - |
parseXmlFile | public static void parseXmlFile(URL remote_url, DefaultHandler handler, boolean validating) throws RSSException(Code) | | Parse rss file from a url
Parameters: remote_url - remote rss file Parameters: handler - the handler Parameters: validating - validate document?? throws: RSSException - |
setHandler | public void setHandler(DefaultHandler h)(Code) | | Set the event handler
Parameters: h - the DefaultHandler |
setValidate | public void setValidate(boolean b)(Code) | | set true if parse have to validate the document
defoult is false
Parameters: b - true or false |
setXmlResource | public void setXmlResource(String file_name) throws RSSException(Code) | | Set rss resource by local file name
Parameters: file_name - loca file name throws: RSSException - |
|
|