|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Constructs a live GridCoverageFormat.
In addition to implementing this interface datastores should have a services file:
META-INF/services/org.geotools.data.GridCoverageFormatFactorySpi
The file should contain a single line which gives the full name of the implementing class.
example:e.g.
org.geotools.data.arcgrid.ArcGridFormatFactory
The factories are never called directly by users, instead the GridFormatFinder class is used.
Method Summary | |
org.opengis.coverage.grid.Format |
createFormat()
Construct a live grid format using the params specifed. |
boolean |
isAvailable()
Test to see if this format is available, if it has all the appropriate libraries to construct a format. |
Methods inherited from interface org.geotools.factory.Factory |
getImplementationHints |
Method Detail |
public org.opengis.coverage.grid.Format createFormat()
java.io.IOException
- if there were any problems creating or connecting
the datasource.public boolean isAvailable()
Most datastores should return true, because geotools will distribute the appropriate libraries. Though it's not a bad idea for DataStoreFactories to check to make sure that the libraries are there.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |