|
OOP Pop3Receiver Version 2.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bentofw.popreceiver.Pop3Receiver
public final class Pop3Receiver
Connects to the POP3 server and calls
MailReceiver.received(ReceivedMail,ConfigPerPop3) for each mail.
Pop3Receiver connects to the POP3 server and
retrieves a series of incomming e-mails.
For each incomming e-mail, this class creates the
instance of ReceivedMail and calls:
ReceivedMail has a set of getXX
methods, the implementation of MailReceiver
interface can access
the various parts of the incomming e-mail, such as the
subject, TO address, FROM address and body text.
In addtition, the body of the file attachment is also
available in ReceivedMail along with the file name
and Content-Type.
| Method Summary | |
|---|---|
static Pop3Receiver |
getInstance()
This method always returns the same instance of Pop3Receiver. |
void |
start()
Start the background Thread, which connects to the POP3 servers at the specified time interval. |
void |
stop()
Stop the background Thread, which connects to the POP3 servers at the specified time interval. |
boolean |
wasStarted()
Returns true if the background Thread is running. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Pop3Receiver getInstance()
public void start()
throws SimpleException,
NestedException,
NoPropertyFileException
ReceivedMail and calls:
of this interface.
Because ReceivedMail has a set of getXX
methods, the implementation of MailReceiver
interface can access
the various parts of the incomming e-mail, such as the
subject, TO address, FROM address and body text.
In addtition, the body of the file attachment is also
available in ReceivedMail along with the file name
and Content-Type.
SimpleException
NestedException
NoPropertyFileException
public void stop()
start()public boolean wasStarted()
start(),
|
OOP Pop3Receiver Version 2.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ALL CONTENTS COPYRIGHT 2005, OOP-Research Corporation. All rights reserved.
Any questions and comments are welcome to OOP-Research Corporation.