API documentation is in the javadoc directory.

For information about the design and implementation
of this package and the persistence model, see The
Swing Connection:

    http://java.sun.com/products/jfc/tsc/


Archiver package, version 0.1
-----------------------------

Usage: add archiver.jar or the archiver directory to your classpath. 

The new output streams:  

    . XMLOutputStream
    . BeanScriptOutputStream
    . JavaOutputStream

use the same conventions as the JDK's ObjectOutputStream and are used the 
same way. The new input streams: 

    . XMLInputStream
    . BeanScriptInputStream

are the analogs of the ObjectInputStream.  Note that there is no
JavaInputStream.

E.g. 
----
        try { 
            ObjectOutput os = new XMLOutputStream(System.out);
	    os.writeObject(new Object[]{"foo", "bar"}); 
            os.close(); 
        }
        catch (Exception e) {
            e.printStackTrace();
        } 

There are two example programs in this distribution. 

The first example, Example.java, creates a simple user interface 
and offers the ability to save and load that user interface in 
either of the supported formats. Watch out for windows being 
replaced by archived windows -- they all look the same! 

The second, TestShell.java is a harness that can be used to read 
.xml, and .bs files passed as the first argument. Given no input file 
the TestShell uses standard input which is assumed to be typed in 
BeanScript. This shell can be used as a Java-like interactive shell 
for instantiating beans and setting their properties. 

To run the examples using the Java 2 SDK v1.3, Standard Edition:

    javac *.java
    java Example

Instead of compiling the sources for the archiver you could 
include archiver.jar in your class path instead. 


