com.funambol.mail
Class LightMessage

java.lang.Object
  extended by com.funambol.mail.Part
      extended by com.funambol.mail.Message
          extended by com.funambol.mail.LightMessage
All Implemented Interfaces:
com.funambol.storage.Serializable

public class LightMessage
extends Message

Overload serialization methods of Message to load the headers only. It is used by RMSStore.getHeaders() to retrieve the list of headers.


Field Summary
 
Fields inherited from class com.funambol.mail.Message
BCC, CACHE_BCC, CACHE_CC, CACHE_FROM, CACHE_REPLYTO, CACHE_SUBJECT, CACHE_TO, CC, content, flags, FROM, key, LAZY_CONTENT, LAZY_HEADERS, msgid, NO_LAZY, parent, received, REPLYTO, sent, SUBJECT, TO
 
Fields inherited from class com.funambol.mail.Part
CONTENT_TRANSFER_ENCODING, CONTENT_TYPE, contentType, ENC_7BIT, ENC_8BIT, ENC_B64, ENC_QP, headers, MULTIPART, MULTIPART_ALTERNATIVE, MULTIPART_MIXED, TEXT_PLAIN
 
Constructor Summary
LightMessage()
          Default Constructor
 
Method Summary
 void deserialize(java.io.DataInputStream din)
           
 void serialize(java.io.DataOutputStream dout)
           
 
Methods inherited from class com.funambol.mail.Message
addRecipient, addRecipients, createUniqueMessageIDValue, getBcc, getCc, getContent, getFlags, getFrom, getKey, getMessageId, getNumberOfRecipients, getParent, getReceivedDate, getReceivedTime, getRecordId, getReplyTo, getSentDate, getSentTime, getSubject, getTextContent, getTo, reloadMessage, removeAllRecipients, setBcc, setCc, setContent, setContent, setFlags, setFrom, setGlobalLaziness, setKey, setLaziness, setMessageId, setParent, setReceivedDate, setReplyTo, setSentDate, setSubject, setTo
 
Methods inherited from class com.funambol.mail.Part
addHeader, getAllHeaders, getContentType, getHeader, isMultipart, isText, isTextHtml, isTextPlain, removeHeader, setContentType, setHeader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LightMessage

public LightMessage()
Default Constructor

Method Detail

serialize

public void serialize(java.io.DataOutputStream dout)
               throws java.io.IOException
Specified by:
serialize in interface com.funambol.storage.Serializable
Overrides:
serialize in class Message
Throws:
java.io.IOException

deserialize

public void deserialize(java.io.DataInputStream din)
                 throws java.io.IOException
Specified by:
deserialize in interface com.funambol.storage.Serializable
Overrides:
deserialize in class Message
Throws:
java.io.IOException


Copyright © 2006 Funambol.