|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.ecf.provider.rss.channel.FeedParser
public class FeedParser
Parser class which allows reading in of RSS news channels.
| Constructor Summary | |
|---|---|
FeedParser()
|
|
| Method Summary | |
|---|---|
protected static void |
dumpStack(java.lang.String msg,
java.lang.Throwable e)
|
static RssFeed |
parse(byte[] b)
Parse the content of the file specified as byte array. |
static RssFeed |
parse(java.io.File file)
Parse the content of the file specified as RSS feed. |
static RssFeed |
parse(java.io.InputStream in)
Parse the content given InputSource as RSS feed. |
protected static void |
trace(java.lang.String msg)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FeedParser()
| Method Detail |
|---|
protected static void trace(java.lang.String msg)
protected static void dumpStack(java.lang.String msg,
java.lang.Throwable e)
public static RssFeed parse(java.io.File file)
throws java.io.FileNotFoundException,
java.io.IOException,
ParseException
file - - The file containing the RSS feed to parse.
java.io.FileNotFoundException
java.io.IOException - - If any IO errors occur.
ParseException - - If any parse errors occur during processing.
public static RssFeed parse(byte[] b)
throws java.io.IOException,
ParseException
b - - The byte array containing the content to be parsed.
java.io.IOException - - If any IO errors occur.
ParseException - - If any parse errors occur during processing.
public static RssFeed parse(java.io.InputStream in)
throws java.io.IOException,
ParseException
in - - The InputSource containing the content to be parsed.
java.io.IOException - - If any IO errors occur.
ParseException - - If any parse errors occur during processing.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||