All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class cryptix.pgp.PacketFactory

java.lang.Object
   |
   +----cryptix.pgp.PacketFactory

public final class PacketFactory
extends Object
This class contains static methods to read and write encoded packets. When a packet is read, an instance of the correct subclass of Packet is created according to the encoded packet's type field.

Copyright © 1995-1997 Systemics Ltd on behalf of the Cryptix Development Team.
All rights reserved.

$Revision: 1.1.1.1 $

Author:
original author not stated, Jill Baker
See Also:
Packet

Method Index

 o load(byte[])
 o read(DataInput)
 o save(Packet)
 o write(DataOutput, Packet)

Methods

 o read
 public static Packet read(DataInput in) throws IOException
 o write
 public static void write(DataOutput out,
                          Packet pkt) throws IOException
 o save
 public static byte[] save(Packet pkt) throws IOException
 o load
 public static Packet load(byte buf[]) throws IOException

All Packages  Class Hierarchy  This Package  Previous  Next  Index