public class BPGParser extends AbstractImageParser
Modifier and Type | Field and Description |
---|---|
protected static int |
EXTENSION_TAG_EXIF |
protected static int |
EXTENSION_TAG_ICC_PROFILE |
protected static int |
EXTENSION_TAG_THUMBNAIL |
protected static int |
EXTENSION_TAG_XMP |
OCR_MEDIATYPE_PREFIX
Constructor and Description |
---|
BPGParser() |
Modifier and Type | Method and Description |
---|---|
int |
getMaxRecordLength() |
Set<MediaType> |
getSupportedTypes(ParseContext context)
Returns the set of media types supported by this parser when used
with the given parse context.
|
protected void |
handleXMP(InputStream stream,
int xmpLength,
ImageMetadataExtractor extractor) |
void |
setMaxRecordLength(int maxRecordLength) |
parse
parse
protected static final int EXTENSION_TAG_EXIF
protected static final int EXTENSION_TAG_ICC_PROFILE
protected static final int EXTENSION_TAG_XMP
protected static final int EXTENSION_TAG_THUMBNAIL
public Set<MediaType> getSupportedTypes(ParseContext context)
Parser
context
- parse context@Field public void setMaxRecordLength(int maxRecordLength)
public int getMaxRecordLength()
protected void handleXMP(InputStream stream, int xmpLength, ImageMetadataExtractor extractor) throws IOException, TikaException, SAXException
IOException
TikaException
SAXException
Copyright © 2007–2023 The Apache Software Foundation. All rights reserved.