org.kuali.rice.core.api.mail
Class EmailContent

java.lang.Object
  extended by org.kuali.rice.core.api.mail.EmailContent

public class EmailContent
extends Object

Class representing customizable content of an email message TODO: supercede this with Spring framework and/or JavaMail mail classes

Author:
Kuali Rice Team (rice.collab@kuali.org)

Constructor Summary
EmailContent()
           
EmailContent(String subject, String body)
           
EmailContent(String subject, String body, boolean html)
           
 
Method Summary
 String getBody()
           
 String getSubject()
           
 boolean isHtml()
           
 void setBody(String body, boolean html)
           
 void setSubject(String subject)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EmailContent

public EmailContent()

EmailContent

public EmailContent(String subject,
                    String body)

EmailContent

public EmailContent(String subject,
                    String body,
                    boolean html)
Method Detail

setSubject

public void setSubject(String subject)

getSubject

public String getSubject()

setBody

public void setBody(String body,
                    boolean html)

getBody

public String getBody()

isHtml

public boolean isHtml()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.