webfunds.sox
Class MailId
java.lang.Object
|
+--webfunds.sox.Encodable
|
+--webfunds.sox.Id
|
+--webfunds.sox.MailId
- public class MailId
- extends Id
This class represents a Mail identifer,
which is the standard way of refering to a mail message or reply.
- See Also:
- Serialized Form
|
Constructor Summary |
|
MailId()
|
|
MailId(byte[] data)
Recover from byte array (not set this byte array). |
protected |
MailId(Id i)
|
|
MailId(java.io.InputStream is)
|
| Methods inherited from class webfunds.sox.Id |
decode,
encode,
eq,
ex,
ex,
fp,
getByteArray,
getBytesFromIdString,
getOpenPGPId,
hashCode,
setByteArray,
setOpenPGPId |
| Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
MailId
public MailId()
MailId
protected MailId(Id i)
MailId
public MailId(byte[] data)
throws SOXPacketException
- Recover from byte array (not set this byte array).
MailId
public MailId(java.io.InputStream is)
throws java.io.IOException,
SOXPacketException
newInstance
public static MailId newInstance(byte[] b)
newInstance
public static MailId newInstance(Receipt receipt)
equals
public boolean equals(java.lang.Object object)
- Overrides:
- equals in class java.lang.Object
toString
public java.lang.String toString()
- Description copied from class: Id
- Convert this object to a string.
Note that is equivalent to
as encode/decode always mangles one to the other.
- Overrides:
- toString in class Id
example
public static MailId example()
- A life-like example for tests.
main
public static void main(java.lang.String[] args)