public class WaffleInfo extends 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(Document doc,
Element node,
IWindowsAccount account) |
protected Element |
getAuthProviderInfo(Document doc) |
static Element |
getException(Document doc,
Exception t) |
Element |
getLookupInfo(Document doc,
String lookup) |
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(String[] args)
Print system information
|
static String |
toPrettyXML(Document doc) |
public Document getWaffleInfo() throws ParserConfigurationException
ParserConfigurationExceptionprotected void addAccountInfo(Document doc, Element node, IWindowsAccount account)
public static String toPrettyXML(Document doc) throws TransformerException
TransformerExceptionpublic static void main(String[] args)
Copyright © 2014. All Rights Reserved.