Class BPGParser

All Implemented Interfaces:
Serializable, org.apache.tika.parser.Parser

public class BPGParser extends AbstractImageParser
Parser for the Better Portable Graphics (BPG) File Format.

Documentation on the file format is available from http://bellard.org/bpg/bpg_spec.txt

See Also:
  • Field Details

  • Constructor Details

    • BPGParser

      public BPGParser()
  • Method Details

    • getSupportedTypes

      public Set<org.apache.tika.mime.MediaType> getSupportedTypes(org.apache.tika.parser.ParseContext context)
    • setMaxRecordLength

      @Field public void setMaxRecordLength(int maxRecordLength)
    • getMaxRecordLength

      public int getMaxRecordLength()
    • handleXMP

      protected void handleXMP(InputStream stream, int xmpLength, ImageMetadataExtractor extractor) throws IOException, org.apache.tika.exception.TikaException, SAXException
      Throws:
      IOException
      org.apache.tika.exception.TikaException
      SAXException