org.jcon.persistance
Class PersistanceLib

java.lang.Object
  extended by org.jcon.persistance.PersistanceLib

public class PersistanceLib
extends java.lang.Object

These librarys, thought not too OO, are the pinacles of useful laziness IMHO. This one has some handy-dandy methods for grabbing persistant data from various places.


Constructor Summary
PersistanceLib()
           
 
Method Summary
static java.lang.Object readObjectOrDie(java.lang.String filename)
          Grabs one object from a TOF file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersistanceLib

public PersistanceLib()
Method Detail

readObjectOrDie

public static java.lang.Object readObjectOrDie(java.lang.String filename)
Grabs one object from a TOF file. Dies horribly if it can't. Handy for small programs that just need to slurp in a parameter object and don't care to continue if they can't get it.