public class GeoTiffFormatFactorySpi extends Object implements GridFormatFactorySpi
GeoTiffFormatFactorySpi
should never be instantiated directly by user code. It
is discovered by the GridFormatFinder
for automatic discovery. Use the standard
Geotools method of discovering a factory in order to create a format.
This format will only report itself to be "available" if the JAI and JAI ImageI/O
libraries are available. Otherwise it will be unavailable. If a user attempts to create a new
instance of the format when the required libraries are unavailable, an
UnsupportedOperationException
will be thrown.
Constructor and Description |
---|
GeoTiffFormatFactorySpi()
Creates a new instance of GeoTiffFormatFactorySpi
|
Modifier and Type | Method and Description |
---|---|
AbstractGridFormat |
createFormat()
Creates and returns a new instance of the
GeoTiffFormat class if the required
libraries are present. |
Map<RenderingHints.Key,?> |
getImplementationHints()
Returns the implementation hints.
|
boolean |
isAvailable()
Informs the caller whether the libraries required by the GeoTiff reader are installed or not.
|
public GeoTiffFormatFactorySpi()
public AbstractGridFormat createFormat()
GeoTiffFormat
class if the required
libraries are present. If JAI and JAI Image I/O are not present, will throw an
UnsupportedOperationException
.createFormat
in interface GridFormatFactorySpi
GeoTiffFormat
object.UnsupportedOperationException
- if this format is unavailable.public boolean isAvailable()
isAvailable
in interface OptionalFactory
public Map<RenderingHints.Key,?> getImplementationHints()
getImplementationHints
in interface Factory
Copyright © 1996–2019 Geotools. All rights reserved.