org.priha.util
Class FastPropertyStore

java.lang.Object
  extended by org.priha.util.FastPropertyStore

public class FastPropertyStore
extends java.lang.Object

Provides a very fast way of saving and loading Property files. The format is almost the same as with regular ones, with few key differences:


Constructor Summary
FastPropertyStore()
           
 
Method Summary
static java.util.Properties load(java.io.FileInputStream in)
           
static void store(java.io.OutputStream out, java.util.Properties props)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FastPropertyStore

public FastPropertyStore()
Method Detail

store

public static void store(java.io.OutputStream out,
                         java.util.Properties props)
                  throws java.io.IOException
Throws:
java.io.IOException

load

public static java.util.Properties load(java.io.FileInputStream in)
                                 throws java.io.IOException
Throws:
java.io.IOException