public class URLImageOutputStreamSpi extends ImageOutputStreamSpi
ImageOutputStreamSpi
Service Provider Interface which is
able to provide provide an ImageOutputStream
object for writing to a
URL
in case such a URL is writable of course.Constructor and Description |
---|
URLImageOutputStreamSpi() |
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
getVendorName, getVersion, onDeregistration, onRegistration
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–2019 GeoSolutions. All rights reserved.