Class BMPImageReaderSpi

  • All Implemented Interfaces:
    javax.imageio.spi.RegisterableService

    public final class BMPImageReaderSpi
    extends ImageReaderSpiBase
    BMPImageReaderSpi
    Version:
    $Id: BMPImageReaderSpi.java,v 1.0 25.feb.2006 00:29:44 haku Exp$
    • Field Summary

      • 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
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private static boolean canDecode​(javax.imageio.stream.ImageInputStream input)  
      boolean canDecodeInput​(java.lang.Object source)  
      javax.imageio.ImageReader createReaderInstance​(java.lang.Object extension)  
      java.lang.String getDescription​(java.util.Locale locale)  
      void onRegistration​(javax.imageio.spi.ServiceRegistry registry, java.lang.Class<?> category)  
      • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BMPImageReaderSpi

        public BMPImageReaderSpi()
    • Method Detail

      • onRegistration

        public void onRegistration​(javax.imageio.spi.ServiceRegistry registry,
                                   java.lang.Class<?> category)
        Specified by:
        onRegistration in interface javax.imageio.spi.RegisterableService
        Overrides:
        onRegistration in class javax.imageio.spi.IIOServiceProvider
      • canDecodeInput

        public boolean canDecodeInput​(java.lang.Object source)
                               throws java.io.IOException
        Specified by:
        canDecodeInput in class javax.imageio.spi.ImageReaderSpi
        Throws:
        java.io.IOException
      • canDecode

        private static boolean canDecode​(javax.imageio.stream.ImageInputStream input)
                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • createReaderInstance

        public javax.imageio.ImageReader createReaderInstance​(java.lang.Object extension)
        Specified by:
        createReaderInstance in class javax.imageio.spi.ImageReaderSpi
      • getDescription

        public java.lang.String getDescription​(java.util.Locale locale)
        Specified by:
        getDescription in class javax.imageio.spi.IIOServiceProvider