Package org.geotools.vsi
Class VSIProperties
- Object
-
- Dictionary<K,V>
-
- Hashtable<Object,Object>
-
- Properties
-
- VSIProperties
-
- All Implemented Interfaces:
Serializable,Cloneable,Map<Object,Object>
public final class VSIProperties extends Properties
GDAL config loader for VSI Virtual File Systems- Author:
- Matthew Northcott
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringLOCATION_PROPERTYName of property that defines where the vsi.properties file is Supplied using -D{LOCATION_PROPERTY}=/path/to/vsi.properties in JAVA_OPTS-
Fields inherited from class Properties
defaults
-
-
Constructor Summary
Constructors Constructor Description VSIProperties()Constructor which parses vsi.properties initially by default
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply()Set the configuration options in GDAL, using those found in vsi.propertiesvoidparse()Read the vsi.properties file for GDAL configuration options.-
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
-
-
-
-
Field Detail
-
LOCATION_PROPERTY
public static final String LOCATION_PROPERTY
Name of property that defines where the vsi.properties file is Supplied using -D{LOCATION_PROPERTY}=/path/to/vsi.properties in JAVA_OPTS- See Also:
- Constant Field Values
-
-
Constructor Detail
-
VSIProperties
public VSIProperties() throws IOExceptionConstructor which parses vsi.properties initially by default- Throws:
IOException
-
-
Method Detail
-
parse
public void parse() throws IOExceptionRead the vsi.properties file for GDAL configuration options.- Throws:
IOException
-
apply
public void apply() throws IOExceptionSet the configuration options in GDAL, using those found in vsi.properties- Throws:
IOException
-
-