Class AbstractNamedParser

    • Method Detail

      • getInputFormats

        public 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 interface NamedParser
        Returns:
        An array of MIME Media Types
      • parsesFormat

        public boolean parsesFormat​(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 interface NamedParser
        Parameters:
        mediatype - The MIME media type to check
        Returns:
        True if the media type is supported