public class WaffleInfo
extends java.lang.Object
java -cp "jna.jar;waffle-core.jar;waffle-api.jar;platform.jar;guava-13.0.jar" waffle.util.WaffleInfo
To show this information in a browser, run:
java -cp "..." waffle.util.WaffleInfo -show
To lookup account names and return any listed info, run:
java -cp "..." waffle.util.WaffleInfo -lookup AccountName
| Constructor and Description |
|---|
WaffleInfo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addAccountInfo(org.w3c.dom.Document doc,
org.w3c.dom.Element node,
IWindowsAccount account) |
protected org.w3c.dom.Element |
getAuthProviderInfo(org.w3c.dom.Document doc) |
static org.w3c.dom.Element |
getException(org.w3c.dom.Document doc,
java.lang.Exception t) |
org.w3c.dom.Element |
getLookupInfo(org.w3c.dom.Document doc,
java.lang.String lookup) |
org.w3c.dom.Document |
getWaffleInfo()
Get a Document with basic system information
This uses the builtin javax.xml package even though the API is quite verbose
|
static void |
main(java.lang.String[] args)
Print system information
|
static java.lang.String |
toPrettyXML(org.w3c.dom.Document doc) |
public org.w3c.dom.Document getWaffleInfo()
throws javax.xml.parsers.ParserConfigurationException
javax.xml.parsers.ParserConfigurationExceptionprotected org.w3c.dom.Element getAuthProviderInfo(org.w3c.dom.Document doc)
protected void addAccountInfo(org.w3c.dom.Document doc,
org.w3c.dom.Element node,
IWindowsAccount account)
public org.w3c.dom.Element getLookupInfo(org.w3c.dom.Document doc,
java.lang.String lookup)
public static org.w3c.dom.Element getException(org.w3c.dom.Document doc,
java.lang.Exception t)
public static java.lang.String toPrettyXML(org.w3c.dom.Document doc)
throws javax.xml.transform.TransformerException
javax.xml.transform.TransformerExceptionpublic static void main(java.lang.String[] args)