Class DriverProperties
- All Implemented Interfaces:
Serializable, Cloneable, Map<Object,Object>
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'
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'
- See Also:
-
Field Summary
Fields inherited from class Properties
defaults -
Constructor Summary
ConstructorsConstructorDescriptionCreates new DataPropertiesDriverProperties(String defaultValue) constructor that will autoset the key 'DefaultValue' -
Method Summary
Modifier and TypeMethodDescriptionSets a key/value pair in the object.Methods inherited from class Properties
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, getProperty, getProperty, hashCode, isEmpty, keys, keySet, list, list, load, load, loadFromXML, merge, propertyNames, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, save, setProperty, size, store, store, storeToXML, storeToXML, storeToXML, stringPropertyNames, toString, values
-
Constructor Details
-
DriverProperties
public DriverProperties()Creates new DataProperties -
DriverProperties
constructor that will autoset the key 'DefaultValue'- Parameters:
defaultValue- value portion for the the key 'DefaultValue'
-
-
Method Details
-
set
Sets a key/value pair in the object.
It returns the object so you can cascade sets:
dp.set ('a','value1')
.set('b','value2')
...- Parameters:
key- key namevalue- key's value
-