org.abstracthorizon.mercury.imap.cmd
Class Append

java.lang.Object
  extended by org.abstracthorizon.mercury.imap.cmd.IMAPCommand
      extended by org.abstracthorizon.mercury.imap.cmd.Append
All Implemented Interfaces:
org.abstracthorizon.danube.connection.ConnectionHandler

public class Append
extends IMAPCommand

Append IMAP command

Author:
Daniel Sendula

Nested Class Summary
static class Append.MMessage
          Message wrapper that adds received date
 
Field Summary
static int BUFFER_LEN
          Default buffer len
 
Fields inherited from class org.abstracthorizon.mercury.imap.cmd.IMAPCommand
ALWAYS_SEND_UNILATERAL_DATA, ALWAYS_SUPRESS_UNILATERAL_DATA, mnemonic, SEND_WHEN_HAVE_NEW, unilateral
 
Constructor Summary
Append(String mnemonic)
          Constructor
 
Method Summary
 void execute(IMAPSession session)
          Executes method
 
Methods inherited from class org.abstracthorizon.mercury.imap.cmd.IMAPCommand
checkEOL, getMnemonic, handleConnection, sendOK
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BUFFER_LEN

public static final int BUFFER_LEN
Default buffer len

See Also:
Constant Field Values
Constructor Detail

Append

public Append(String mnemonic)
Constructor

Parameters:
mnemonic - mnemonic
Method Detail

execute

public void execute(IMAPSession session)
             throws ParserException,
                    javax.mail.MessagingException,
                    CommandException,
                    IOException
Executes method

Overrides:
execute in class IMAPCommand
Parameters:
session -
Throws:
ParserException
javax.mail.MessagingException
CommandException
IOException


Copyright © 2005-2009 Abstract Horizon. All Rights Reserved.