ePOST API

rice.email.proxy.imap.commands
Class RenameCommand

java.lang.Object
  extended by rice.email.proxy.imap.commands.AbstractImapCommand
      extended by rice.email.proxy.imap.commands.RenameCommand

public class RenameCommand
extends AbstractImapCommand

RENAME command.

http://asg.web.cmu.edu/rfc/rfc2060.html#sec-6.3.3


Constructor Summary
RenameCommand()
           
 
Method Summary
 void execute()
           
 java.lang.String getNewFolder()
           
 java.lang.String getOldFolder()
           
 boolean isValidForState(ImapState state)
           
 void setNewFolder(java.lang.String folder)
           
 void setOldFolder(java.lang.String folder)
           
 
Methods inherited from class rice.email.proxy.imap.commands.AbstractImapCommand
getCmdName, getConn, getState, getTag, setConn, setState, setTag, taggedExceptionFailure, taggedFailure, taggedSimpleFailure, taggedSimpleSuccess, taggedSuccess, untaggedResponse, untaggedSimpleResponse, untaggedSuccess
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RenameCommand

public RenameCommand()
Method Detail

isValidForState

public boolean isValidForState(ImapState state)
Specified by:
isValidForState in class AbstractImapCommand

execute

public void execute()
Specified by:
execute in class AbstractImapCommand

getOldFolder

public java.lang.String getOldFolder()

getNewFolder

public java.lang.String getNewFolder()

setOldFolder

public void setOldFolder(java.lang.String folder)

setNewFolder

public void setNewFolder(java.lang.String folder)

ePOST API

Copyright © 2001-2005 - Rice Pastry.