|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.macromedia.rssu.Parser
This is a base class for all parsers. There are different styles of RSS documents, and those different styles get their own parsers. However, all parsers much extend this object.
| Constructor Summary | |
Parser()
|
|
| Method Summary | |
abstract Channel |
parse(org.w3c.dom.Document stream)
Parse an xml document into a Channel object. |
Channel |
parse(java.io.File file)
Parse the contents of a file |
Channel |
parse(org.xml.sax.InputSource source)
parse an InputSource, an abstract concept of a source of a document. |
Channel |
parse(java.io.InputStream stream)
Parse an input stream |
Channel |
parse(java.net.URL url)
Parse the contents of a URL |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Parser()
| Method Detail |
public abstract Channel parse(org.w3c.dom.Document stream)
throws RssException
RssException
public Channel parse(java.io.InputStream stream)
throws RssException
stream - is the stream to parse
RssException
public Channel parse(org.xml.sax.InputSource source)
throws RssException
source - is the input source to parse
RssException
public Channel parse(java.io.File file)
throws RssException
file - is the file to parse
RssException
public Channel parse(java.net.URL url)
throws RssException
url - is the url to parse
RssException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||