fr.cnes.sitools.mail
Class SitoolsRepresentationMessage

java.lang.Object
  extended by javax.mail.Message
      extended by javax.mail.internet.MimeMessage
          extended by org.restlet.ext.javamail.RepresentationMessage
              extended by fr.cnes.sitools.mail.SitoolsRepresentationMessage
All Implemented Interfaces:
javax.mail.internet.MimePart, javax.mail.Part

public class SitoolsRepresentationMessage
extends org.restlet.ext.javamail.RepresentationMessage

Sitools representation message

Author:
AKKA Technologies

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.mail.internet.MimeMessage
javax.mail.internet.MimeMessage.RecipientType
 
Field Summary
 
Fields inherited from interface javax.mail.Part
ATTACHMENT, INLINE
 
Constructor Summary
SitoolsRepresentationMessage(org.restlet.representation.Representation messageRepresentation, javax.mail.Session session)
          Class allowing connector restlet.ext.mail to accept a Mail SITools object instead of XML representation.
SitoolsRepresentationMessage(javax.mail.Session session)
          Constructor
 
Method Summary
 
Methods inherited from class javax.mail.internet.MimeMessage
addFrom, addHeader, addHeaderLine, addRecipients, addRecipients, getAllHeaderLines, getAllHeaders, getAllRecipients, getContent, getContentID, getContentLanguage, getContentMD5, getContentType, getDataHandler, getDescription, getDisposition, getEncoding, getFileName, getFlags, getFrom, getHeader, getHeader, getInputStream, getLineCount, getMatchingHeaderLines, getMatchingHeaders, getMessageID, getNonMatchingHeaderLines, getNonMatchingHeaders, getRawInputStream, getReceivedDate, getRecipients, getReplyTo, getSender, getSentDate, getSize, getSubject, isMimeType, isSet, removeHeader, reply, saveChanges, setContent, setContent, setContentID, setContentLanguage, setContentMD5, setDataHandler, setDescription, setDescription, setDisposition, setFileName, setFlags, setFrom, setFrom, setHeader, setRecipients, setRecipients, setReplyTo, setSender, setSentDate, setSubject, setSubject, setText, setText, setText, writeTo, writeTo
 
Methods inherited from class javax.mail.Message
addRecipient, getFolder, getMessageNumber, isExpunged, match, setFlag, setRecipient
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SitoolsRepresentationMessage

public SitoolsRepresentationMessage(org.restlet.representation.Representation messageRepresentation,
                                    javax.mail.Session session)
                             throws java.io.IOException,
                                    javax.mail.MessagingException
Class allowing connector restlet.ext.mail to accept a Mail SITools object instead of XML representation.

Parameters:
messageRepresentation - mail message representation
session - mail session
Throws:
java.io.IOException - IOException when getting mail Object from representation
javax.mail.MessagingException - when messaging fails

SitoolsRepresentationMessage

public SitoolsRepresentationMessage(javax.mail.Session session)
Constructor

Parameters:
session - mail session


Copyright © 2010-2013 CNES. All Rights Reserved.