org.abstracthorizon.mercury.imap.cmd
Class Status
java.lang.Object
org.abstracthorizon.mercury.imap.cmd.IMAPCommand
org.abstracthorizon.mercury.imap.cmd.Status
- All Implemented Interfaces:
- org.abstracthorizon.danube.connection.ConnectionHandler
public class Status
- extends IMAPCommand
Status IMAP command
- Author:
- Daniel Sendula
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Status
public Status(String mnemonic)
- Constructor
- Parameters:
mnemonic - menmonic
execute
protected void execute(IMAPSession session)
throws ParserException,
javax.mail.MessagingException,
CommandException,
IOException
- Executes the command
- Overrides:
execute in class IMAPCommand
- Parameters:
session -
- Throws:
ParserException
javax.mail.MessagingException
CommandException
IOException
status_att
protected boolean status_att(IMAPScanner scanner,
StatusResponse response,
javax.mail.Folder folder)
throws IOException,
ParserException,
javax.mail.MessagingException
- This method scans for status attributes
- Parameters:
scanner - scannerresponse - responsefolder - folder
- Returns:
true if successful
- Throws:
IOException
ParserException
javax.mail.MessagingException
Copyright © 2005-2009 Abstract Horizon. All Rights Reserved.