org.peabody.emailprocessor
Class SaveMessageAction
java.lang.Object
org.peabody.emailprocessor.AbstractMessageAction
org.peabody.emailprocessor.SaveMessageAction
- All Implemented Interfaces:
- MessageAction
public class SaveMessageAction
- extends AbstractMessageAction
Field Summary |
protected java.io.File |
directory
|
protected static java.util.Random |
random
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
random
protected static java.util.Random random
directory
protected java.io.File directory
SaveMessageAction
public SaveMessageAction()
- Creates a new instance of SaveMessageAction
SaveMessageAction
public SaveMessageAction(java.io.File aDirectory)
throws java.io.IOException
- Throws:
java.io.IOException
SaveMessageAction
public SaveMessageAction(java.lang.String aDirectory)
throws java.io.IOException
- Throws:
java.io.IOException
getDirectory
public java.lang.String getDirectory()
throws java.io.IOException
- Throws:
java.io.IOException
setDirectory
public void setDirectory(java.lang.String aDirectory)
throws java.io.IOException
- Throws:
java.io.IOException
performAction
public void performAction(MessageMatch aMessageMatch)