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 |
|---|---|
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) |
parseparseprotected 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)
Parsercontext - parse contextprotected void handleXMP(InputStream stream, int xmpLength, ImageMetadataExtractor extractor) throws IOException, TikaException, SAXException
IOExceptionTikaExceptionSAXExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.