org.artoflife.app.save
Class SaveUtility

java.lang.Object
  |
  +--org.artoflife.app.save.SaveUtility

public class SaveUtility
extends java.lang.Object

Simple utility to handle FileChooser dialogs and calls org.artoflife.gui.paintable.view.PaintableIndividualPersistence.

Author:
Steve Meyfroidt

Constructor Summary
SaveUtility()
           
 
Method Summary
static javax.swing.JComponent getParent()
           
static Individual loadIndividual()
           
static java.lang.Object loadSerializable()
           
static void saveIndividual(Individual individual, boolean asThumbnail)
           
static void saveSerializable(java.io.Serializable object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SaveUtility

public SaveUtility()
Method Detail

getParent

public static javax.swing.JComponent getParent()

saveSerializable

public static void saveSerializable(java.io.Serializable object)
                             throws java.io.IOException
java.io.IOException

loadSerializable

public static java.lang.Object loadSerializable()
                                         throws java.io.IOException,
                                                java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException

saveIndividual

public static void saveIndividual(Individual individual,
                                  boolean asThumbnail)
                           throws java.io.IOException
java.io.IOException

loadIndividual

public static Individual loadIndividual()
                                 throws java.io.IOException
java.io.IOException

artoflife pre0.1.0-dev

Copyright © 2002 the Art Of Life team. All Rights Reserved.