com.auxilii.msgparser.attachment
Class MsgAttachment

Object
  extended by com.auxilii.msgparser.attachment.MsgAttachment
All Implemented Interfaces:
Attachment

public class MsgAttachment
extends Object
implements Attachment

This Attachment implementation represents a .msg object attachment. Instead of storing a byte[] of the attachment, this implementation provides an embedded Message object.

Author:
roman.kurmanowytsch

Constructor Summary
MsgAttachment()
           
 
Method Summary
 Message getMessage()
           
 void setMessage(Message message)
           
 String toString()
          Returns the String returned by Message.toString().
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MsgAttachment

public MsgAttachment()
Method Detail

getMessage

public Message getMessage()
Returns:
the message

setMessage

public void setMessage(Message message)
Parameters:
message - the message to set

toString

public String toString()
Returns the String returned by Message.toString().

Overrides:
toString in class Object
See Also:
Object.toString()


Copyright © 2007 Roman Kurmanowytsch