Package org.apache.abdera.util
Class AbstractNamedParser
- java.lang.Object
-
- org.apache.abdera.util.AbstractParser
-
- org.apache.abdera.util.AbstractNamedParser
-
- All Implemented Interfaces:
NamedParser
,Parser
,NamedItem
@Deprecated(since="2021-07-29") public abstract class AbstractNamedParser extends AbstractParser implements NamedParser
Deprecated.This API is deprecated as Apache Abdera is a retired project since 2017.Base abstract implementation of NamedParser
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.String[]
getInputFormats()
Deprecated.Returns a listing of media type of the format consumed by this parserjava.lang.String
getName()
Deprecated.boolean
parsesFormat(java.lang.String mediatype)
Deprecated.Returns true if this parser is capable of consuming the specified media type-
Methods inherited from class org.apache.abdera.util.AbstractParser
getAbdera, getDefaultParserOptions, getFactory, parse, parse, parse, parse, parse, parse, parse, parse, parse, parse, parse, parse, setAbdera, setDefaultParserOptions
-
-
-
-
Method Detail
-
getInputFormats
public java.lang.String[] getInputFormats()
Deprecated.Description copied from interface:NamedParser
Returns a listing of media type of the format consumed by this parser- Specified by:
getInputFormats
in interfaceNamedParser
- Returns:
- An array of MIME Media Types
-
parsesFormat
public boolean parsesFormat(java.lang.String mediatype)
Deprecated.Description copied from interface:NamedParser
Returns true if this parser is capable of consuming the specified media type- Specified by:
parsesFormat
in interfaceNamedParser
- Parameters:
mediatype
- The MIME media type to check- Returns:
- True if the media type is supported
-
-