public class TopiaH2Util extends Object
| Modifier and Type | Field and Description |
|---|---|
protected TopiaFiresSupport |
firesSupport |
protected TopiaSqlSupport |
sqlSupport |
| Constructor and Description |
|---|
TopiaH2Util(TopiaSqlSupport context,
TopiaFiresSupport firesSupport) |
protected TopiaFiresSupport firesSupport
protected TopiaSqlSupport sqlSupport
public TopiaH2Util(TopiaSqlSupport context, TopiaFiresSupport firesSupport)
public void backup(File file, boolean compress) throws TopiaException
file - file to write backupcompress - if true then use gzip to compress fileTopiaExceptionpublic void restore(File file) throws TopiaException
file - the source file to use for restoreTopiaExceptionCopyright © 2004–2014 CodeLutin. All rights reserved.