Package org.apache.pdfbox.jbig2
Class JBIG2ImageReaderSpi
java.lang.Object
javax.imageio.spi.IIOServiceProvider
javax.imageio.spi.ImageReaderWriterSpi
javax.imageio.spi.ImageReaderSpi
org.apache.pdfbox.jbig2.JBIG2ImageReaderSpi
- All Implemented Interfaces:
RegisterableService
Necessary extension for ImageIO standard.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final String[]
(package private) static final String[]
(package private) static final String[]
(package private) static final String[]
private static final int[]
According to D.4.1:private static final Class<?>[]
private static final String[]
private static final String[]
(package private) static final String
(package private) static final String
(package private) static final String
(package private) static final String
private static final String
private static final String[]
(package private) static final boolean
(package private) static final boolean
private static final String
private static final String
private static final String[]
Fields inherited from class javax.imageio.spi.ImageReaderSpi
inputTypes, STANDARD_INPUT_TYPE, writerSpiNames
Fields inherited from class javax.imageio.spi.ImageReaderWriterSpi
extraImageMetadataFormatClassNames, extraImageMetadataFormatNames, extraStreamMetadataFormatClassNames, extraStreamMetadataFormatNames, MIMETypes, names, nativeImageMetadataFormatClassName, nativeImageMetadataFormatName, nativeStreamMetadataFormatClassName, nativeStreamMetadataFormatName, pluginClassName, suffixes, supportsStandardImageMetadataFormat, supportsStandardStreamMetadataFormat
Fields inherited from class javax.imageio.spi.IIOServiceProvider
vendorName, version
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
canDecodeInput
(Object source) createReaderInstance
(Object extension) getDescription
(Locale locale) Methods inherited from class javax.imageio.spi.ImageReaderSpi
createReaderInstance, getImageWriterSpiNames, getInputTypes, isOwnReader
Methods inherited from class javax.imageio.spi.ImageReaderWriterSpi
getExtraImageMetadataFormatNames, getExtraStreamMetadataFormatNames, getFileSuffixes, getFormatNames, getImageMetadataFormat, getMIMETypes, getNativeImageMetadataFormatName, getNativeStreamMetadataFormatName, getPluginClassName, getStreamMetadataFormat, isStandardImageMetadataFormatSupported, isStandardStreamMetadataFormatSupported
Methods inherited from class javax.imageio.spi.IIOServiceProvider
getVendorName, getVersion, onDeregistration, onRegistration
-
Field Details
-
VENDOR
- See Also:
-
VERSION
- See Also:
-
READER_CLASS_NAME
- See Also:
-
NAMES
-
SUFFIXES
-
MIME_TYPES
-
INPUT_TYPES
-
FILEHEADER_PREAMBLE
private static final int[] FILEHEADER_PREAMBLEAccording to D.4.1:This preamble contains the unique id string for jbig2 files and can be used to check if this reader plugin can decode the given stream. This can only work with native jbig2 data. If the stream is embedded in another file format this preamble might be missing.
-
WRITER_SPI_NAMES
-
SUPPORTS_STANDARD_STREAM_METADATE_FORMAT
static final boolean SUPPORTS_STANDARD_STREAM_METADATE_FORMAT- See Also:
-
NATIVE_STREAM_METADATA_FORMAT_NAME
- See Also:
-
NATIVE_STREAM_METADATA_FORMAT_CLASSNAME
- See Also:
-
EXTRA_STREAM_METADATA_FORMAT_NAME
-
EXTRA_STREAM_METADATA_FORMAT_CLASSNAME
-
SUPPORTS_STANDARD_IMAGE_METADATA_FORMAT
static final boolean SUPPORTS_STANDARD_IMAGE_METADATA_FORMAT- See Also:
-
NATIVE_IMAGE_METADATA_FORMAT_NAME
- See Also:
-
NATIVE_IMAGE_METADATA_FORMAT_CLASSNAME
- See Also:
-
EXTRA_IMAGE_METADATA_FORMAT_NAME
-
EXTRA_IMAGE_METADATA_FORMAT_CLASSNAME
-
-
Constructor Details
-
JBIG2ImageReaderSpi
public JBIG2ImageReaderSpi()
-
-
Method Details
-
canDecodeInput
- Specified by:
canDecodeInput
in classImageReaderSpi
- Throws:
IOException
-
createReaderInstance
- Specified by:
createReaderInstance
in classImageReaderSpi
- Throws:
IOException
-
getDescription
- Specified by:
getDescription
in classIIOServiceProvider
-