Package org.geotools.geopkg
Class ByteArrayImageInputStreamSpi
- Object
-
- IIOServiceProvider
-
- ImageInputStreamSpi
-
- 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
Constructors Constructor Description ByteArrayImageInputStreamSpi()
-
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
-
-
-
-
Method Detail
-
createInputStreamInstance
public ImageInputStream createInputStreamInstance(Object input, boolean useCache, File cacheDir) throws IOException
- Specified by:
createInputStreamInstance
in classImageInputStreamSpi
- Throws:
IOException
-
getDescription
public String getDescription(Locale locale)
- Specified by:
getDescription
in classIIOServiceProvider
-
-