it.geosolutions.imageio.stream.output.spi
Class URLImageOutputStreamSpi
Object
IIOServiceProvider
ImageOutputStreamSpi
URLImageOutputStreamSpi
- All Implemented Interfaces:
- RegisterableService
public class URLImageOutputStreamSpi
- extends ImageOutputStreamSpi
A Special 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.
- Author:
- Simone Giannecchini, GeoSolutions
Method Summary |
ImageOutputStream |
createOutputStreamInstance(Object output,
boolean useCache,
File cacheDir)
Returns an instance of the ImageOutputStream implementation
associated with this service provider. |
String |
getDescription(Locale locale)
|
Methods inherited from class ImageOutputStreamSpi |
canUseCacheFile, createOutputStreamInstance, getOutputClass, 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 |
URLImageOutputStreamSpi
public URLImageOutputStreamSpi()
getDescription
public String getDescription(Locale locale)
- Specified by:
getDescription
in class IIOServiceProvider
createOutputStreamInstance
public ImageOutputStream createOutputStreamInstance(Object output,
boolean useCache,
File cacheDir)
- Returns an instance of the
ImageOutputStream
implementation
associated with this service provider.
- Specified by:
createOutputStreamInstance
in class ImageOutputStreamSpi
- Returns:
- an ImageOutputStream instance.
- Throws:
IllegalArgumentException
- if input is not an instance of the correct class or is
null.
Copyright © 2006-2010 GeoSolutions. All Rights Reserved.