Package de.pco.imageio
Class B16ImageReaderSpi
java.lang.Object
javax.imageio.spi.IIOServiceProvider
javax.imageio.spi.ImageReaderWriterSpi
javax.imageio.spi.ImageReaderSpi
de.pco.imageio.B16ImageReaderSpi
- All Implemented Interfaces:
RegisterableService
public class B16ImageReaderSpi extends ImageReaderSpi
Plugin proxy class to describe the B16 format and determine whether
the the input should be read by B16ImageReader.
- Author:
- PCO
-
Field Summary
Fields inherited from class javax.imageio.spi.ImageReaderSpi
inputTypes, STANDARD_INPUT_TYPEFields inherited from class javax.imageio.spi.ImageReaderWriterSpi
pluginClassName -
Constructor Summary
Constructors Constructor Description B16ImageReaderSpi()Standard constructor. -
Method Summary
Modifier and Type Method Description booleancanDecodeInput(Object source)The input is a B16 file when it starts with bytes "PCO-"ImageReadercreateReaderInstance(Object extension)Creates the instance of B16ImageReader.StringgetDescription(Locale locale)Returns the description of the reader.Methods inherited from class javax.imageio.spi.ImageReaderSpi
createReaderInstance, getImageWriterSpiNames, getInputTypes, isOwnReaderMethods inherited from class javax.imageio.spi.ImageReaderWriterSpi
getExtraImageMetadataFormatNames, getExtraStreamMetadataFormatNames, getFileSuffixes, getFormatNames, getImageMetadataFormat, getMIMETypes, getNativeImageMetadataFormatName, getNativeStreamMetadataFormatName, getPluginClassName, getStreamMetadataFormat, isStandardImageMetadataFormatSupported, isStandardStreamMetadataFormatSupportedMethods inherited from class javax.imageio.spi.IIOServiceProvider
getVendorName, getVersion, onDeregistration, onRegistration
-
Constructor Details
-
B16ImageReaderSpi
public B16ImageReaderSpi()Standard constructor.
-
-
Method Details
-
canDecodeInput
The input is a B16 file when it starts with bytes "PCO-"- Specified by:
canDecodeInputin classImageReaderSpi- Throws:
IOException
-
createReaderInstance
Creates the instance of B16ImageReader.- Specified by:
createReaderInstancein classImageReaderSpi- Throws:
IOException
-
getDescription
Returns the description of the reader.- Specified by:
getDescriptionin classIIOServiceProvider
-