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 Stringprivate static final Stringprivate static final String[](package private) static final boolean(package private) static final booleanprivate static final Stringprivate static final Stringprivate static final String[]Fields inherited from class ImageReaderSpi
inputTypes, STANDARD_INPUT_TYPE, writerSpiNamesFields inherited from class ImageReaderWriterSpi
extraImageMetadataFormatClassNames, extraImageMetadataFormatNames, extraStreamMetadataFormatClassNames, extraStreamMetadataFormatNames, MIMETypes, names, nativeImageMetadataFormatClassName, nativeImageMetadataFormatName, nativeStreamMetadataFormatClassName, nativeStreamMetadataFormatName, pluginClassName, suffixes, supportsStandardImageMetadataFormat, supportsStandardStreamMetadataFormatFields inherited from class IIOServiceProvider
vendorName, version -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanDecodeInput(Object source) createReaderInstance(Object extension) getDescription(Locale locale) Methods inherited from class ImageReaderSpi
createReaderInstance, getImageWriterSpiNames, getInputTypes, isOwnReaderMethods inherited from class ImageReaderWriterSpi
getExtraImageMetadataFormatNames, getExtraStreamMetadataFormatNames, getFileSuffixes, getFormatNames, getImageMetadataFormat, getMIMETypes, getNativeImageMetadataFormatName, getNativeStreamMetadataFormatName, getPluginClassName, getStreamMetadataFormat, isStandardImageMetadataFormatSupported, isStandardStreamMetadataFormatSupportedMethods inherited from class 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:
canDecodeInputin classImageReaderSpi- Throws:
IOException
-
createReaderInstance
- Specified by:
createReaderInstancein classImageReaderSpi- Throws:
IOException
-
getDescription
- Specified by:
getDescriptionin classIIOServiceProvider
-