public class GbjGciPreferences
extends java.lang.Object
Run by executing:
prompt> java com.gemstone.gbjgci.GbjPreferences [command] [arg1] [arg2]
Where valid commands are:
Valid parameters and their values are:
Constructor and Description |
---|
GbjGciPreferences()
Constructor is not really needed as all behavior is static
|
Modifier and Type | Method and Description |
---|---|
static int |
debugC()
Return 0/1/2 if off/info/debug trace logging of
GbjGciInterface JNI code should be enabled
|
static java.lang.String |
get(java.lang.String pref)
Return a preference string value
|
static java.lang.String |
get(java.lang.String pref,
java.lang.String deflt)
Return a preference string value
|
static java.util.logging.Level |
logLevel(java.lang.String moduleName)
Return trace debug logging level for designated module
|
static void |
main(java.lang.String[] args)
Main program for viewing/setting/removing
Gbj/GbjGci debug trace logging levels
|
public GbjGciPreferences()
public static java.lang.String get(java.lang.String pref, java.lang.String deflt)
pref
- Stringdeflt
- Stringpublic static java.lang.String get(java.lang.String pref)
pref
- Stringpublic static int debugC()
public static java.util.logging.Level logLevel(java.lang.String moduleName)
moduleName
- Stringpublic static void main(java.lang.String[] args)
args
- String array of input arguments