org.geotiff.image
Class KeyMap

java.lang.Object
  extended by java.util.Dictionary<K,V>
      extended by java.util.Hashtable<java.lang.Object,java.lang.Object>
          extended by java.util.Properties
              extended by org.geotiff.image.KeyMap
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.Object,java.lang.Object>

public class KeyMap
extends java.util.Properties

The KeyMap represents the two-way mapping between a single set of GeoTIFF codes and their symbolic string names. The KeyRegistry keeps track of all of these.

See Also:
KeyRegistry, Serialized Form

Constructor Summary
KeyMap()
          Empty Constructor for serialization
KeyMap(java.lang.String resourceName)
          Constructor for named resource file
 
Method Summary
 java.lang.String getProperty2(java.lang.String key)
          Gets property from key; if value starts with a $ it is an alias to another property.
 
Methods inherited from class java.util.Properties
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, remove, size, toString, values
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

KeyMap

public KeyMap()
Empty Constructor for serialization


KeyMap

public KeyMap(java.lang.String resourceName)
       throws java.io.IOException
Constructor for named resource file

Throws:
java.io.IOException
Method Detail

getProperty2

public java.lang.String getProperty2(java.lang.String key)
Gets property from key; if value starts with a $ it is an alias to another property. The method is non-recursive, and only follows one level of indirection.

Parameters:
key - the symbolic key to resolve