|
Holger's Java API |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.antelmann.net.RSSHandler
public class RSSHandler
handles RSS data feeds in XML. Supported formats include rss version 0.91 and 2.0 as well as rdf:RDF.
RSSItem,
RSSChannel,
RSSMenu,
Serialized Form| Constructor Summary | |
|---|---|
RSSHandler(File file)
|
|
RSSHandler(InputSource source)
|
|
RSSHandler(InputStream stream)
|
|
RSSHandler(URL url)
|
|
| Method Summary | |
|---|---|
RSSChannel |
getChannel()
returns the first available channel in this rss feed (if any) |
RSSChannel[] |
getChannels()
returns all available channels in this rss feed |
Document |
getDocument()
|
String |
getFormat()
|
String |
getVersion()
|
void |
init(InputSource source)
initializes the handler with content from the given source |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RSSHandler(URL url)
throws FormatException,
IOException
FormatException
IOException
public RSSHandler(File file)
throws FormatException,
IOException
FormatException
IOException
public RSSHandler(InputStream stream)
throws FormatException,
IOException
FormatException
IOException
public RSSHandler(InputSource source)
throws FormatException,
IOException
FormatException
IOException| Method Detail |
|---|
public void init(InputSource source)
throws IOException,
FormatException
IOException
FormatExceptionpublic Document getDocument()
public String getFormat()
public String getVersion()
public RSSChannel getChannel()
throws FormatException
FormatException
public RSSChannel[] getChannels()
throws FormatException
FormatException
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||