wodka.util
Class PersistanceHandler

java.lang.Object
  extended bywodka.util.PersistanceHandler

public class PersistanceHandler
extends java.lang.Object

Author:
wwagner4

Method Summary
static PersistanceHandler current()
           
 GeneticAlgorithm load(java.io.File gZipFile)
           
 StreamPersistable loadStreamPersistable(java.io.File gZipFile)
           
 void save(StreamPersistable ga, java.io.File gZipFile)
           
 void saveObject(java.lang.Object obj, java.io.File gZipFile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

current

public static PersistanceHandler current()

load

public GeneticAlgorithm load(java.io.File gZipFile)
                      throws java.io.IOException
Throws:
java.io.IOException

loadStreamPersistable

public StreamPersistable loadStreamPersistable(java.io.File gZipFile)
                                        throws java.io.IOException
Throws:
java.io.IOException

save

public void save(StreamPersistable ga,
                 java.io.File gZipFile)
          throws java.io.IOException
Throws:
java.io.IOException

saveObject

public void saveObject(java.lang.Object obj,
                       java.io.File gZipFile)
                throws java.io.IOException
Throws:
java.io.IOException