All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class cryptix.pgp.Comment

java.lang.Object
   |
   +----cryptix.pgp.Packet
           |
           +----cryptix.pgp.Comment

public final class Comment
extends Packet
Class representing a comment Packet.

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

$Revision: 1.1.1.1 $

Author:
unattributed

Variable Index

 o data

Constructor Index

 o Comment(DataInput, int)
 o Comment(String)

Method Index

 o getDefaultLengthSpecifier()
 o getType()
 o read(DataInput, int)
 o toString()
 o write(DataOutput)

Variables

 o data
 protected String data

Constructors

 o Comment
 public Comment(String comment)
 o Comment
 public Comment(DataInput in,
                int length) throws IOException

Methods

 o read
 public void read(DataInput in,
                  int length) throws IOException
Overrides:
read in class Packet
 o write
 public int write(DataOutput out) throws IOException
Overrides:
write in class Packet
 o toString
 public String toString()
Overrides:
toString in class Object
 o getType
 public int getType()
Overrides:
getType in class Packet
 o getDefaultLengthSpecifier
 public int getDefaultLengthSpecifier()
Overrides:
getDefaultLengthSpecifier in class Packet

All Packages  Class Hierarchy  This Package  Previous  Next  Index