|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjgnash.engine.AccountTreeXMLFactory
public class AccountTreeXMLFactory
Import and export a tree of accounts
| Nested Class Summary | |
|---|---|
private static class |
AccountTreeXMLFactory.AccountImport
|
| Constructor Summary | |
|---|---|
private |
AccountTreeXMLFactory()
|
| Method Summary | |
|---|---|
static void |
exportAccountTree(Engine engine,
java.io.File file)
|
private static com.thoughtworks.xstream.XStream |
getStream()
|
static void |
importAccountTree(Engine engine,
RootAccount root)
Imports an account tree into the existing account tree. |
static RootAccount |
loadAccountTree(java.io.File file)
Load an account tree given a reader |
static RootAccount |
loadAccountTree(java.io.InputStream stream)
Load an account tree given an InputStream |
private static RootAccount |
loadAccountTree(java.io.Reader reader)
Load an account tree given a reader |
static void |
mergeAccountTree(Engine engine,
RootAccount root)
Merges an account tree into the existing account tree. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
private AccountTreeXMLFactory()
| Method Detail |
|---|
private static com.thoughtworks.xstream.XStream getStream()
public static void exportAccountTree(Engine engine,
java.io.File file)
private static RootAccount loadAccountTree(java.io.Reader reader)
reader - Reader to use
public static RootAccount loadAccountTree(java.io.File file)
file - file name to use
public static RootAccount loadAccountTree(java.io.InputStream stream)
stream - InputStream to use
public static void importAccountTree(Engine engine,
RootAccount root)
engine - current engine to merge intoroot - root of account structure to merge
public static void mergeAccountTree(Engine engine,
RootAccount root)
engine - current engine to merge intoroot - root of account structure to merge
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||