org.apache.geronimo.javamail.store.pop3.connection
Class POP3ListResponse

java.lang.Object
  extended by org.apache.geronimo.javamail.store.pop3.connection.POP3Response
      extended by org.apache.geronimo.javamail.store.pop3.connection.POP3ListResponse
All Implemented Interfaces:
POP3Constants

public class POP3ListResponse
extends POP3Response

This class adds functionality to the basic response by parsing the reply for LIST command and obtaining specific information about the msgnum and the size. It could be for one or more msgs depending on wether a msg number was passed or not into the LIST command

Version:
$Rev: 597135 $ $Date: 2007-11-21 11:26:57 -0500 (Wed, 21 Nov 2007) $
See Also:
org.apache.geronimo.javamail.store.pop3.POP3Response, org.apache.geronimo.javamail.store.pop3.response.DefaultPOP3Response

Field Summary
 
Fields inherited from interface org.apache.geronimo.javamail.store.pop3.POP3Constants
CHALLENGE, CRLF, DOT, ERR, OK, SPACE
 
Method Summary
 int getMessageNumber()
           
 List getMultipleMessageDetails()
          Messages can be accessed by multipleMsgs.getElementAt(msgnum)
 int getSize()
           
 
Methods inherited from class org.apache.geronimo.javamail.store.pop3.connection.POP3Response
decodeChallengeResponse, getContentStream, getData, getFirstLine, getStatus, isChallenge, isError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getMessageNumber

public int getMessageNumber()

getSize

public int getSize()

getMultipleMessageDetails

public List getMultipleMessageDetails()
Messages can be accessed by multipleMsgs.getElementAt(msgnum)



Copyright © 2003-2009 The Apache Software Foundation. All Rights Reserved.