|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jsieve.parser.address.SieveAddressBuilder
public class SieveAddressBuilder
Builds MailAdapter.Address
from address lists. Note that
implementators of MailAdapter
are recommended to use a fully featured
and maintained parser such as Apache
Mime4J. This implementation is based on Mime4J code but is intended only
for internal and demonstration purposes. It is not actively maintained.
Constructor Summary | |
---|---|
SieveAddressBuilder()
|
Method Summary | |
---|---|
void |
addAddresses(java.lang.String addressList)
Adds addresses in the given list. |
MailAdapter.Address[] |
getAddresses()
Gets addresses currently accumulated by calls to addAddresses(String) since the last call to reset() . |
void |
reset()
Clears the addresses currently accumulated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SieveAddressBuilder()
Method Detail |
---|
public void reset()
public void addAddresses(java.lang.String addressList) throws ParseException
addressList
- RFC822 address list
ParseException
public MailAdapter.Address[] getAddresses()
addAddresses(String)
since the last call to reset()
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |