Vordel SDK

com.vordel.mime
Class BodyMimeMessage

java.lang.Object
  extended by MimeMessage
      extended by com.vordel.mime.BodyMimeMessage

public class BodyMimeMessage
extends MimeMessage


Constructor Summary
BodyMimeMessage(Session session, Body body)
           
 
Method Summary
protected  java.io.InputStream getContentStream()
           
 java.lang.String getContentType()
           
 javax.activation.DataHandler getDataHandler()
           
 java.io.InputStream getInputStream()
           
 int getLineCount()
           
 int getSize()
           
 void setContent(Multipart mp)
           
 void setContent(java.lang.Object o, java.lang.String type)
           
 void setDataHandler(javax.activation.DataHandler dh)
           
 void setText(java.lang.String text)
           
 void setText(java.lang.String text, java.lang.String charset)
           
 void setText(java.lang.String text, java.lang.String charset, java.lang.String subtype)
           
 void writeTo(java.io.OutputStream os)
           
 void writeTo(java.io.OutputStream os, java.lang.String[] ignoreList)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BodyMimeMessage

public BodyMimeMessage(Session session,
                       Body body)
Method Detail

getContentStream

protected java.io.InputStream getContentStream()
                                        throws MessagingException
Throws:
MessagingException

getContentType

public java.lang.String getContentType()
                                throws MessagingException
Throws:
MessagingException

getDataHandler

public javax.activation.DataHandler getDataHandler()
                                            throws MessagingException
Throws:
MessagingException

getLineCount

public int getLineCount()
                 throws MessagingException
Throws:
MessagingException

getSize

public int getSize()
            throws MessagingException
Throws:
MessagingException

setContent

public void setContent(Multipart mp)
                throws MessagingException
Throws:
MessagingException

setContent

public void setContent(java.lang.Object o,
                       java.lang.String type)
                throws MessagingException
Throws:
MessagingException

setDataHandler

public void setDataHandler(javax.activation.DataHandler dh)
                    throws MessagingException
Throws:
MessagingException

setText

public void setText(java.lang.String text,
                    java.lang.String charset,
                    java.lang.String subtype)
             throws MessagingException
Throws:
MessagingException

setText

public void setText(java.lang.String text,
                    java.lang.String charset)
             throws MessagingException
Throws:
MessagingException

setText

public void setText(java.lang.String text)
             throws MessagingException
Throws:
MessagingException

getInputStream

public java.io.InputStream getInputStream()
                                   throws java.io.IOException,
                                          MessagingException
Throws:
java.io.IOException
MessagingException

writeTo

public void writeTo(java.io.OutputStream os,
                    java.lang.String[] ignoreList)
             throws java.io.IOException,
                    MessagingException
Throws:
java.io.IOException
MessagingException

writeTo

public void writeTo(java.io.OutputStream os)
             throws java.io.IOException,
                    MessagingException
Throws:
java.io.IOException
MessagingException

Vordel SDK


This documentation and all its contents and graphics, copyright © 1999 - 2011 Vordel