org.geotiff.image
Class KeyRegistry

java.lang.Object
  extended by org.geotiff.image.KeyRegistry

public class KeyRegistry
extends java.lang.Object

The KeyRegistry provides the global registry for all sets of KeyMaps. All methods are static.


Field Summary
static java.lang.String EPSG_DATUM
           
static java.lang.String EPSG_ELLIPSE
           
static java.lang.String EPSG_GCS
           
static java.lang.String EPSG_PCS
           
static java.lang.String EPSG_PM
           
static java.lang.String EPSG_PROJ
           
static java.lang.String EPSG_VERTCS
           
static java.lang.String GEO_CTRANS
           
static java.lang.String GEOKEY
           
static KeyRegistry instance
           
static java.lang.String UNIT_GEOG
           
static java.lang.String UNIT_PROJ
           
static java.lang.String UNIT_VERTCS
           
 
Method Summary
static void addKeyMap(java.lang.String name, KeyMap map)
           
static void addKeyMap(java.lang.String name, java.lang.String resource)
           
static int getCode(java.lang.String map, java.lang.String key)
           
static java.lang.String getKey(java.lang.String map, int code)
           
static KeyMap getKeyMap(java.lang.String name)
           
static KeyRegistry getKeyRegistry()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GEOKEY

public static java.lang.String GEOKEY

GEO_CTRANS

public static java.lang.String GEO_CTRANS

EPSG_PCS

public static java.lang.String EPSG_PCS

EPSG_DATUM

public static java.lang.String EPSG_DATUM

EPSG_ELLIPSE

public static java.lang.String EPSG_ELLIPSE

EPSG_GCS

public static java.lang.String EPSG_GCS

EPSG_PM

public static java.lang.String EPSG_PM

EPSG_PROJ

public static java.lang.String EPSG_PROJ

EPSG_VERTCS

public static java.lang.String EPSG_VERTCS

UNIT_GEOG

public static java.lang.String UNIT_GEOG

UNIT_PROJ

public static java.lang.String UNIT_PROJ

UNIT_VERTCS

public static java.lang.String UNIT_VERTCS

instance

public static KeyRegistry instance
Method Detail

getKeyRegistry

public static KeyRegistry getKeyRegistry()

addKeyMap

public static void addKeyMap(java.lang.String name,
                             KeyMap map)
                      throws java.io.IOException
Throws:
java.io.IOException

addKeyMap

public static void addKeyMap(java.lang.String name,
                             java.lang.String resource)
                      throws java.io.IOException
Throws:
java.io.IOException

getKeyMap

public static KeyMap getKeyMap(java.lang.String name)

getCode

public static int getCode(java.lang.String map,
                          java.lang.String key)

getKey

public static java.lang.String getKey(java.lang.String map,
                                      int code)