Contents | Package | Class | Tree | Deprecated | Index | Help
PREV | NEXT SHOW LISTS | HIDE LISTS

Class com.orbs.pub.io.Serialize

java.lang.Object
    |
    +----com.orbs.pub.io.Serialize

public class Serialize
extends java.lang.Object

Version:
1998-04-26
Author:
David W. Croft

Constructor Summary
 Serialize()
 
 

Method Summary
static java.io.Serializable  load(java.lang.String filename)
 
static void  main(java.lang.String[] args)
Creates a new instance of a Serializable object and then saves it to a file.
static boolean  save(java.lang.String filename, java.io.Serializable serializable)
 
 
Methods inherited from class java.lang.Object
 clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Serialize

protected Serialize()
Method Detail

main

public static void main(java.lang.String[] args) throws java.lang.ClassNotFoundException, java.lang.IllegalAccessException, java.lang.InstantiationException
Creates a new instance of a Serializable object and then saves it to a file.

Arguments: fileName, className


load

public static java.io.Serializable load(java.lang.String filename) throws java.io.FileNotFoundException, java.io.IOException, java.lang.ClassNotFoundException

save

public static boolean save(java.lang.String filename,
                           java.io.Serializable serializable)

Contents | Package | Class | Tree | Deprecated | Index | Help


Virtual Anarchy of Free Traders
PREV | NEXT SHOW LISTS | HIDE LISTS