|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.backsource.alert.PropertyUtil
A singleton wich loads the xml definitions file, with some utility methods to use when parsing the xml.
| Method Summary | |
static java.util.List |
getAgents()
Get an Element list of al the agents in the alert xml file. |
org.w3c.dom.Document |
getAlertDocument()
Loads the alert xml file from tne file given in PropertyConstants.DOCUMENT, defaults to alert.xml. |
static java.util.Properties |
getProperties()
Legacy method, should NOT be used. |
static java.util.Properties |
getProperties(org.w3c.dom.Element element)
Get all properties that where found under the given element. |
static java.util.List |
getSenders()
Get an Element list of al the senders in the alert xml file. |
static java.util.List |
getValues(java.lang.String property)
Get a list of values from a property with space separated values. |
static PropertyUtil |
instance()
Get the singleton instance wich owns the Document. |
static void |
main(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public org.w3c.dom.Document getAlertDocument()
throws java.lang.Exception
PropertyConstants.DOCUMENT, defaults to alert.xml.
java.lang.Exceptionpublic static PropertyUtil instance()
public static java.util.List getAgents()
throws java.lang.Exception
java.lang.Exception
public static java.util.List getSenders()
throws java.lang.Exception
java.lang.Exception
public static java.util.Properties getProperties(org.w3c.dom.Element element)
throws java.lang.Exception
java.lang.Exception
public static java.util.Properties getProperties()
throws java.lang.Exception
java.lang.Exceptionpublic static java.util.List getValues(java.lang.String property)
public static void main(java.lang.String[] args)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||