|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gov.lanl.SSLTools.PropertyUtilities
Provides some useful functions on properties.

| Field Summary | |
static org.apache.log4j.Logger |
cat
|
| Constructor Summary | |
PropertyUtilities()
|
|
| Method Summary | |
static void |
certifyProperties(java.lang.String inMsg,
java.util.Properties props,
java.lang.String[] reqKeys)
Certifies that the required keys are in the property file, or queries for them and inserts them into the properties if missing |
static void |
certifyProperties(java.lang.String inMsg,
java.util.Properties props,
java.lang.String[][] targets)
Certifies that the required keys are in the property file, or queries for them and inserts them into the properties if missing |
static boolean |
checkProperties(java.lang.String inMsg,
java.util.Properties props,
java.lang.String[] targets)
Checks for required target properties. |
static boolean |
checkProperties(java.lang.String inMsg,
java.util.Properties props,
java.lang.String[][] targets)
Checks for required target properties. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static org.apache.log4j.Logger cat
| Constructor Detail |
public PropertyUtilities()
| Method Detail |
public static boolean checkProperties(java.lang.String inMsg,
java.util.Properties props,
java.lang.String[][] targets)
inMsg - is a message prepended to the output noticesprops - the Properties to checktargets - are 2D list of properties, first element in the row is the property,
remaining elements in row are the acceptable values, if no value elements any value
other than null is ok
public static void certifyProperties(java.lang.String inMsg,
java.util.Properties props,
java.lang.String[][] targets)
inMsg - is a message prepended to the output noticesprops - the Properties to checktargets - are 2D list of properties, first element in the row is the property,
remaining elements in row are the acceptable values, if no value elements any value
other than null is ok
public static boolean checkProperties(java.lang.String inMsg,
java.util.Properties props,
java.lang.String[] targets)
inMsg - is a message prepended to the output noticesprops - the Properties to checktargets - are the list of properties to require in props
public static void certifyProperties(java.lang.String inMsg,
java.util.Properties props,
java.lang.String[] reqKeys)
inMsg - is a message prepended to the output noticesprops - the Properties to checkreqKeys - are the list of properties to require in props
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||