public class StringImageOutputStreamSpi
extends ImageOutputStreamSpi
ImageOutputStreamSpi
Service Provider Interface which is
able to provide an ImageOutputStream
object for writing to a
URL
in case such a URL is writable of course.Constructor and Description |
---|
StringImageOutputStreamSpi() |
Modifier and Type | Method and Description |
---|---|
ImageOutputStream |
createOutputStreamInstance(Object output,
boolean useCache,
File cacheDir)
Returns an instance of the
ImageOutputStream implementation
associated with this service provider. |
String |
getDescription(Locale locale) |
canUseCacheFile, createOutputStreamInstance, getOutputClass, needsCacheFile
public String getDescription(Locale locale)
getDescription
in class IIOServiceProvider
public ImageOutputStream createOutputStreamInstance(Object output, boolean useCache, File cacheDir)
ImageOutputStream
implementation
associated with this service provider.createOutputStreamInstance
in class ImageOutputStreamSpi
IllegalArgumentException
- if input is not an instance of the correct class or is
null.Copyright © 2006-2018 GeoSolutions. All Rights Reserved.