org.geotools.geopkg
Class ByteArrayImageInputStreamSpi

Object
  extended by IIOServiceProvider
      extended by ImageInputStreamSpi
          extended by 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
 
Constructor Summary
ByteArrayImageInputStreamSpi()
           
 
Method Summary
 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


Copyright © 1996-2014 Geotools. All Rights Reserved.