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 StringEPSG_DATUMstatic StringEPSG_ELLIPSEstatic StringEPSG_GCSstatic StringEPSG_PCSstatic StringEPSG_PMstatic StringEPSG_PROJstatic StringEPSG_VERTCSstatic StringGEO_CTRANSstatic StringGEOKEYstatic KeyRegistryinstancestatic StringUNIT_GEOGstatic StringUNIT_PROJstatic StringUNIT_VERTCS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidaddKeyMap(String name, String resource)static voidaddKeyMap(String name, KeyMap map)static intgetCode(String map, String key)static StringgetKey(String map, int code)static KeyMapgetKeyMap(String name)static KeyRegistrygetKeyRegistry()
-
-
-
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
-
-