public final class AtomUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static org.apache.abdera.parser.Parser |
getAtomParser()
Gets the Atom parser.
|
static org.apache.abdera.model.Document<org.apache.abdera.model.Feed> |
parseDocument(String uri)
Parses the given uri and returns the response as a atom feed document.
|
public static org.apache.abdera.parser.Parser getAtomParser()
public static org.apache.abdera.model.Document<org.apache.abdera.model.Feed> parseDocument(String uri) throws IOException, org.apache.abdera.parser.ParseException
uri - the uri for the atom feed.IOException - is thrown if error reading from the uriorg.apache.abdera.parser.ParseException - is thrown if the parsing failedApache Camel