|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jtheque.utils.bean.Email
public final class Email
An email.
| Constructor Summary | |
|---|---|
Email()
|
|
| Method Summary | |
|---|---|
void |
attachFile(File f)
Attach a file to the mail. |
void |
attachFiles(Collection<File> c)
Attach files to the mail. |
Collection<File> |
getAttachedFiles()
Return the files attached to the mail. |
String |
getFrom()
Return the from address. |
String |
getMessage()
Return the message. |
String |
getSubject()
Return the subject. |
String[] |
getTo()
Return the to addresses. |
void |
setFrom(String from)
Set the from address. |
void |
setMessage(String message)
Set the message. |
void |
setSubject(String subject)
Set the subject. |
void |
setTo(String[] to)
Set the addresses to. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Email()
| Method Detail |
|---|
public String getFrom()
public void setFrom(String from)
from - The from address.public String getMessage()
public void setMessage(String message)
message - The message to set.public String getSubject()
public void setSubject(String subject)
subject - The subject.public String[] getTo()
public void setTo(String[] to)
to - An array containing all the destination addresses.public void attachFile(File f)
f - The file to attach.public void attachFiles(Collection<File> c)
c - The collection of files to attach to the mail.public Collection<File> getAttachedFiles()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||