public interface NamedParser extends Parser, NamedItem
Parser parser = abdera.getParserFactory().getParser("json");
Document<Feed> doc = parser.parse(...);
Parser parser = abdera.getParserFactory().getParser("hatom");
Document<Feed> doc = parser.parse(...);
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getInputFormats()
Returns a listing of media type of the format consumed by this parser
|
boolean |
parsesFormat(java.lang.String mediatype)
Returns true if this parser is capable of consuming the specified media type
|
java.lang.String[] getInputFormats()
boolean parsesFormat(java.lang.String mediatype)
mediatype - The MIME media type to checkCopyright © 2010 - 2023 Adobe. All Rights Reserved