public final class ConfigManager
extends Object
ConfigManager
sets configuration first by using internal
defaults. Second, reading from 'com.digistamp.properties' file found in
classpath and if not found then looks to directory set in System Property
"user.dir". Third, you can write Java code to set configuration values. See
the demo code for more details. com.digistamp.http.ConnectionTimeout=5000
com.digistamp.http.RoundRobin=false
com.digistamp.http.UseTLS=true
com.digistamp.pki.Test.Untrusted=false
Modifier and Type | Method and Description |
---|---|
static Properties |
getDefaultProperties()
Returns the Default
Properties of the toolkit |
static ConfigManager |
getInstance()
Singleton accessor method
|
java.net.URL |
getResource(String resource) |
public static Properties getDefaultProperties()
Properties
of the toolkitProperties
public static ConfigManager getInstance()
public java.net.URL getResource(String resource)