Package org.geotiff.image
Class KeyRegistry
- java.lang.Object
-
- org.geotiff.image.KeyRegistry
-
public class KeyRegistry extends Object
The KeyRegistry provides the global registry for all sets of KeyMaps. All methods are static.
-
-
Field Summary
Fields Modifier and Type Field Description static String
EPSG_DATUM
static String
EPSG_ELLIPSE
static String
EPSG_GCS
static String
EPSG_PCS
static String
EPSG_PM
static String
EPSG_PROJ
static String
EPSG_VERTCS
static String
GEO_CTRANS
static String
GEOKEY
static KeyRegistry
instance
static String
UNIT_GEOG
static String
UNIT_PROJ
static String
UNIT_VERTCS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addKeyMap(String name, String resource)
static void
addKeyMap(String name, KeyMap map)
static int
getCode(String map, String key)
static String
getKey(String map, int code)
static KeyMap
getKeyMap(String name)
static KeyRegistry
getKeyRegistry()
-
-
-
Field Detail
-
GEOKEY
public static String GEOKEY
-
GEO_CTRANS
public static String GEO_CTRANS
-
EPSG_PCS
public static String EPSG_PCS
-
EPSG_DATUM
public static String EPSG_DATUM
-
EPSG_ELLIPSE
public static String EPSG_ELLIPSE
-
EPSG_GCS
public static String EPSG_GCS
-
EPSG_PM
public static String EPSG_PM
-
EPSG_PROJ
public static String EPSG_PROJ
-
EPSG_VERTCS
public static String EPSG_VERTCS
-
UNIT_GEOG
public static String UNIT_GEOG
-
UNIT_PROJ
public static String UNIT_PROJ
-
UNIT_VERTCS
public static String UNIT_VERTCS
-
instance
public static KeyRegistry instance
-
-
Method Detail
-
getKeyRegistry
public static KeyRegistry getKeyRegistry()
-
addKeyMap
public static void addKeyMap(String name, KeyMap map) throws IOException
- Throws:
IOException
-
addKeyMap
public static void addKeyMap(String name, String resource) throws IOException
- Throws:
IOException
-
-