|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.james.pop3server.TopCmdHandler
public class TopCmdHandler
Handles TOP command
| Constructor Summary | |
|---|---|
TopCmdHandler()
|
|
| Method Summary | |
|---|---|
void |
onCommand(POP3Session session)
|
void |
writeMessageContentTo(javax.mail.internet.MimeMessage message,
java.io.OutputStream out,
int lines)
Writes the content of the message, up to a total number of lines, out to an OutputStream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TopCmdHandler()
| Method Detail |
|---|
public void onCommand(POP3Session session)
onCommand in interface CommandHandlerCommandHandler.onCommand(POP3Session)
public void writeMessageContentTo(javax.mail.internet.MimeMessage message,
java.io.OutputStream out,
int lines)
throws java.io.IOException,
javax.mail.MessagingException
out - the OutputStream to which to write the contentlines - the number of lines to write to the stream
javax.mail.MessagingException - if the MimeMessage is not set for this MailImpl
java.io.IOException - if an error occurs while reading or writing from the stream
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||