Class cryptix.util.Streamable
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class cryptix.util.Streamable

java.lang.Object
   |
   +----cryptix.util.Streamable

public class Streamable
extends Object
implements StreamInterface
This is a Streamable abstract base class that allows provides the load and save methods. Only the read and write methods need defining for use.
See Also:
StreamInterface

Constructor Index

 o Streamable()
 o Streamable(byte[])
 o Streamable(DataInput)

Method Index

 o load(byte[])
 o read(DataInput)
This reads the object from the data input stream
 o save()
 o write(DataOutput)
This writes the object to the data output stream

Constructors

 o Streamable
  public Streamable()
 o Streamable
  public Streamable(byte buf[]) throws IOException
 o Streamable
  public Streamable(DataInput in) throws IOException

Methods

 o load
  public final void load(byte buf[]) throws IOException
 o save
  public final byte[] save() throws IOException

All Packages  Class Hierarchy  This Package  Previous  Next  Index