Class DriverProperties

  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
All Implemented Interfaces:, java.lang.Cloneable, java.util.Map<java.lang.Object,java.lang.Object>

public class DriverProperties
extends java.util.Properties

Object to store a bunch of key/value pairs used by the input/output drivers/classes.
dp = new DriverProperties()

is the same as:

dp = new DriverProperties('c:\me.shp')

NOTE: dp.get('DefaultValue') is available via the parent class
Typically one uses 'DefaultValue' or 'InputFile' or 'OutputFile'

See Also:
Serialized Form

Constructor Summary
          Creates new DataProperties
DriverProperties(java.lang.String defaultValue)
          constructor that will autoset the key 'DefaultValue'
Method Summary
 DriverProperties set(java.lang.String key, java.lang.String value)
          Sets a key/value pair in the object.
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


public DriverProperties()
Creates new DataProperties


public DriverProperties(java.lang.String defaultValue)
constructor that will autoset the key 'DefaultValue'

defaultValue - value portion for the the key 'DefaultValue'
Method Detail


public DriverProperties set(java.lang.String key,
                            java.lang.String value)
Sets a key/value pair in the object.
It returns the object so you can cascade sets:
dp.set ('a','value1')

key - key name
value - key's value