|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ccg.net.email.DistributionList
public class DistributionList
Class to manage a "distribution list" of zero of more email addresses.
class Example {
public void main(String[] args) {
com.ccg.net.email.DistributionList o = new com.ccg.net.email.DistributionList();
System.out.println(o);
}
}
| Constructor Summary | |
|---|---|
DistributionList()
Initializes object to... |
|
| Method Summary | |
|---|---|
void |
add(DistributionList dl)
|
void |
add(Lookup l,
javax.mail.Message.RecipientType def)
|
void |
add(javax.mail.Message.RecipientType type,
javax.mail.Address addr)
One line summary... |
static javax.mail.Address |
getAddress(Lookup l)
One line summary... |
int |
getCount()
Get number of addresses in the distribution list. |
static javax.mail.Message.RecipientType |
getRecipientType(Lookup l,
javax.mail.Message.RecipientType def)
One line summary... |
int |
setMessageRecipients(javax.mail.Message m)
One line summary... |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DistributionList()
| Method Detail |
|---|
public int getCount()
arg1 - arg1-describearg2 - arg2-describe
exc - Why thrown
public void add(javax.mail.Message.RecipientType type,
javax.mail.Address addr)
arg1 - arg1-describearg2 - arg2-describe
exc - Why thrownpublic void add(DistributionList dl)
public void add(Lookup l,
javax.mail.Message.RecipientType def)
throws javax.mail.internet.AddressException,
UnsupportedEncodingException
javax.mail.internet.AddressException
UnsupportedEncodingException
public static javax.mail.Address getAddress(Lookup l)
throws javax.mail.internet.AddressException,
UnsupportedEncodingException
arg1 - arg1-describearg2 - arg2-describe
exc - Why thrown
javax.mail.internet.AddressException
UnsupportedEncodingException
public static javax.mail.Message.RecipientType getRecipientType(Lookup l,
javax.mail.Message.RecipientType def)
arg1 - arg1-describearg2 - arg2-describe
exc - Why thrown
public int setMessageRecipients(javax.mail.Message m)
throws javax.mail.MessagingException
arg1 - arg1-describearg2 - arg2-describe
exc - Why thrown
javax.mail.MessagingExceptionpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||