de.nava.informa.parsers
Class OPMLParser
java.lang.Object
de.nava.informa.parsers.OPMLParser
public class OPMLParser
- extends Object
OPML (Outline processor markup language) parser for to read in a collection
of news channels (feeds) that will be made available as news channel object
model.
Currently OPML version 1.1 is supported.
- Author:
- Niko Schmuck
- See Also:
FeedIF
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parse
public static Collection parse(URL aURL)
throws IOException,
ParseException
- Throws:
IOException
ParseException
parse
public static Collection parse(String url)
throws IOException,
ParseException
- Reads in a news feed definition from the specified URL.
- Returns:
- A collection of
FeedIF
objects.
- Throws:
IOException
ParseException
parse
public static Collection parse(Reader reader)
throws IOException,
ParseException
- Throws:
IOException
ParseException
parse
public static Collection parse(InputStream stream)
throws IOException,
ParseException
- Throws:
IOException
ParseException
parse
public static Collection<FeedIF> parse(File aFile)
throws IOException,
ParseException
- Throws:
IOException
ParseException
parse
public static Collection<FeedIF> parse(InputSource inpSource,
URL baseLocation)
throws IOException,
ParseException
- Throws:
IOException
ParseException
Copyright © 2002-2007 Niko Schmuck.
All Rights Reserved.