Class ByteArrayImageInputStreamSpi

  • All Implemented Interfaces:
    RegisterableService

    public class ByteArrayImageInputStreamSpi
    extends ImageInputStreamSpi
    Image input stream provider creating an image input stream directly from a byte array.
    Author:
    Justin Deoliveira, OpenGeo
    • Field Summary

      • Fields inherited from class ImageInputStreamSpi

        inputClass
      • Fields inherited from class IIOServiceProvider

        vendorName, version
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ImageInputStream createInputStreamInstance​(Object input, boolean useCache, File cacheDir)  
      String getDescription​(Locale locale)  
      • Methods inherited from class ImageInputStreamSpi

        canUseCacheFile, createInputStreamInstance, getInputClass, needsCacheFile
      • Methods inherited from class IIOServiceProvider

        getVendorName, getVersion, onDeregistration, onRegistration
      • Methods inherited from class Object

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

      • ByteArrayImageInputStreamSpi

        public ByteArrayImageInputStreamSpi()
    • Method Detail

      • createInputStreamInstance

        public ImageInputStream createInputStreamInstance​(Object input,
                                                          boolean useCache,
                                                          File cacheDir)
                                                   throws IOException
        Specified by:
        createInputStreamInstance in class ImageInputStreamSpi
        Throws:
        IOException
      • getDescription

        public String getDescription​(Locale locale)
        Specified by:
        getDescription in class IIOServiceProvider