|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.util.Dictionary
java.util.Hashtable
java.util.Properties
com.vividsolutions.jump.io.DriverProperties
Object to store a bunch of key/value pairs used by the input/output drivers/classes.
dp = new DriverProperties()
dp.set('DefaultValue','c:\me.shp')
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'
| Field Summary |
| Fields inherited from class java.util.Properties |
defaults |
| Constructor Summary | |
DriverProperties()
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, propertyNames, save, setProperty, store |
| Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public DriverProperties()
public DriverProperties(java.lang.String defaultValue)
defaultValue - value portion for the the key 'DefaultValue'| Method Detail |
public DriverProperties set(java.lang.String key,
java.lang.String value)
key - key namevalue - key's value
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||