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

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

public class POP3StatusResponse
extends POP3Response

This class adds functionality to the basic response by parsing the status line and obtaining specific information about num of msgs and the size

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 getNumMessages()
           
 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

getNumMessages

public int getNumMessages()

getSize

public int getSize()


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