org.geotools.data.tiger
Class TigerDataStoreFactory

java.lang.Object
  extended byorg.geotools.data.tiger.TigerDataStoreFactory
All Implemented Interfaces:
DataStoreFactorySpi, Factory

public class TigerDataStoreFactory
extends java.lang.Object
implements DataStoreFactorySpi

Title: GeoTools2 Development

Description:

Copyright: Copyright (c) 2003

Company:

Version:
1.0
Author:
Julian J. Ray

Nested Class Summary
 
Nested classes inherited from class org.geotools.data.DataStoreFactorySpi
DataStoreFactorySpi.Param
 
Field Summary
static DataStoreFactorySpi.Param DIRECTORY
           
 
Constructor Summary
TigerDataStoreFactory()
          Creates a new TigerDataStoreFactory object.
 
Method Summary
 boolean canProcess(java.util.Map params)
          canProcess
 DataStore createDataStore(java.util.Map params)
          createDataStore
 DataStore createNewDataStore(java.util.Map params)
          createNewDataStore
 java.lang.String getDescription()
          getDescription
 java.lang.String getDisplayName()
          Name suitable for display to end user.
 java.util.Map getImplementationHints()
          Returns the implementation hints.
 DataStoreFactorySpi.Param[] getParametersInfo()
          getParametersInfo
 boolean isAvailable()
          Test to see if this datastore is available, if it has all the appropriate libraries to construct a datastore.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DIRECTORY

public static final DataStoreFactorySpi.Param DIRECTORY
Constructor Detail

TigerDataStoreFactory

public TigerDataStoreFactory()
Creates a new TigerDataStoreFactory object.

Method Detail

createDataStore

public DataStore createDataStore(java.util.Map params)
                          throws java.io.IOException
createDataStore

Specified by:
createDataStore in interface DataStoreFactorySpi
Parameters:
params - Map
Returns:
DataStore
Throws:
java.io.IOException

createNewDataStore

public DataStore createNewDataStore(java.util.Map params)
                             throws java.io.IOException
createNewDataStore

Specified by:
createNewDataStore in interface DataStoreFactorySpi
Parameters:
params - Map
Returns:
DataStore
Throws:
java.io.IOException

getDisplayName

public java.lang.String getDisplayName()
Description copied from interface: DataStoreFactorySpi
Name suitable for display to end user.

A non localized display name for this data store type.

Specified by:
getDisplayName in interface DataStoreFactorySpi
Returns:
A short name suitable for display in a user interface.

getDescription

public java.lang.String getDescription()
getDescription

Specified by:
getDescription in interface DataStoreFactorySpi
Returns:
String

getParametersInfo

public DataStoreFactorySpi.Param[] getParametersInfo()
getParametersInfo

Specified by:
getParametersInfo in interface DataStoreFactorySpi
Returns:
Param[]

isAvailable

public boolean isAvailable()
Test to see if this datastore is available, if it has all the appropriate libraries to construct a datastore. This datastore just returns true for now. This method is used for gui apps, so as to not advertise data store capabilities they don't actually have.

Specified by:
isAvailable in interface DataStoreFactorySpi
Returns:
true if and only if this factory is available to create DataStores.
Task:
REVISIT: I'm just adding this method to compile, maintainer should revisit to check for any libraries that may be necessary for datastore creations. ch.

canProcess

public boolean canProcess(java.util.Map params)
canProcess

Specified by:
canProcess in interface DataStoreFactorySpi
Parameters:
params - Map
Returns:
boolean

getImplementationHints

public java.util.Map getImplementationHints()
Returns the implementation hints. The default implementation returns en empty map.

Specified by:
getImplementationHints in interface Factory
Returns:
The map of hints, or an empty map if none.


Copyright © GeoTools. All Rights Reserved.