org.ow2.easybeans.component.mail
Class MimePart

java.lang.Object
  extended by org.ow2.easybeans.component.mail.AbsMail
      extended by org.ow2.easybeans.component.mail.MimePart
All Implemented Interfaces:
MailItf

public class MimePart
extends AbsMail

Represent an object for mail component.

Author:
Florent BENOIT

Constructor Summary
MimePart()
           
 
Method Summary
 java.util.List<MailAddress> getMailAddresses()
           
 java.lang.String getSubject()
           
 void setMailAddresses(java.util.List<MailAddress> mailAddresses)
          Sets the list of mail addresses.
 void setSubject(java.lang.String subject)
          Sets the given subject.
 
Methods inherited from class org.ow2.easybeans.component.mail.AbsMail
getAuth, getJNDIName, getMailSessionProperties, getName, getProperties, setAuth, setJNDIName, setName, setProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MimePart

public MimePart()
Method Detail

getSubject

public java.lang.String getSubject()
Returns:
the subject used by this factory

setSubject

public void setSubject(java.lang.String subject)
Sets the given subject.

Parameters:
subject - the given subject.

getMailAddresses

public java.util.List<MailAddress> getMailAddresses()
Returns:
the given mail addresses.

setMailAddresses

public void setMailAddresses(java.util.List<MailAddress> mailAddresses)
Sets the list of mail addresses.

Parameters:
mailAddresses - the given list


Copyright © 2006-2009 OW2 Consortium. All Rights Reserved.