|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jsieve.commands.AbstractCommand org.apache.jsieve.commands.AbstractBodyCommand org.apache.jsieve.commands.AbstractActionCommand org.apache.jsieve.commands.optional.FileInto
public class FileInto
Class FileInto implements the FileInto Command as defined in RFC 3028, section 4.2.
Constructor Summary | |
---|---|
FileInto()
Constructor for Require. |
Method Summary | |
---|---|
protected java.lang.Object |
executeBasic(MailAdapter mail,
Arguments arguments,
Block block,
SieveContext context)
Add an ActionFileInto to the List of Actions to be performed passing the sole StringList argument as the destination. |
protected void |
validateArguments(Arguments arguments,
SieveContext context)
Framework method validateArguments is invoked before a Sieve Command is executed to validate its arguments. |
Methods inherited from class org.apache.jsieve.commands.AbstractActionCommand |
---|
updateState, validateSingleStringArguments, validateState |
Methods inherited from class org.apache.jsieve.commands.AbstractCommand |
---|
execute, validateBlock |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileInto()
Method Detail |
---|
protected java.lang.Object executeBasic(MailAdapter mail, Arguments arguments, Block block, SieveContext context) throws SieveException
Add an ActionFileInto to the List of Actions to be performed passing the sole StringList argument as the destination. RFC 3028 mandates that there should be only one FileInto per destination. If this is a duplicate, this Command is silently ignored.
Also,
executeBasic
in class AbstractCommand
context
- SieveContext
giving contextual information, not
null
SieveException
protected void validateArguments(Arguments arguments, SieveContext context) throws SieveException
AbstractCommand
validateArguments
in class AbstractCommand
context
- SieveContext
giving contextual information, not
null
SieveException
AbstractCommand.validateArguments(Arguments,
SieveContext)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |