public class FileImageOutputStreamExtImplSpi extends ImageOutputStreamSpi
FileImageOutputStreamExt
Constructor and Description |
---|
FileImageOutputStreamExtImplSpi() |
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) |
void |
onRegistration(ServiceRegistry registry,
Class category)
Upon registration, this method ensures that this SPI will be invoked
before the default FileImageOutputStreamSpi
|
canUseCacheFile, createOutputStreamInstance, getOutputClass, needsCacheFile
getVendorName, getVersion, onDeregistration
public String getDescription(Locale locale)
getDescription
in class IIOServiceProvider
public void onRegistration(ServiceRegistry registry, Class category)
onRegistration
in interface RegisterableService
onRegistration
in class IIOServiceProvider
registry
- ServiceRegistry where this object has been registered.category
- a Class object indicating the registry category under
which this object has been registered.public ImageOutputStream createOutputStreamInstance(Object output, boolean useCache, File cacheDir)
createOutputStreamInstance
in class ImageOutputStreamSpi
IllegalArgumentException
- if input is not an instance of the correct class or is
null.Copyright © 2006–2014 GeoSolutions. All rights reserved.