org.garret.perst
Class CompressDatabase

java.lang.Object
  extended by org.garret.perst.CompressDatabase

public class CompressDatabase
extends java.lang.Object

Utility used to compress database file. You should create database using normal file (OSFile). Then use this utiulity to compress database file. To work with compressed database file you should path instance if this class in Storage.open method


Constructor Summary
CompressDatabase()
           
 
Method Summary
static void main(java.lang.String[] args)
          This utility accepts one argument: path to database file.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompressDatabase

public CompressDatabase()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
This utility accepts one argument: path to database file. It creates new file at the same location and with the same name but with with ".dbz" extension.

Throws:
java.io.IOException