com.ericdaugherty.mail.server.persistence.pop3
Class SimpleFileIOProcessor
java.lang.Object
com.ericdaugherty.mail.server.persistence.pop3.SimpleFileIOProcessor
- All Implemented Interfaces:
- POP3MessagePersistenceProccessor
public class SimpleFileIOProcessor
- extends java.lang.Object
- implements POP3MessagePersistenceProccessor
A file system based POP3 persistance engine.
- Author:
- Andreas Kyrmegalos
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleFileIOProcessor
public SimpleFileIOProcessor()
setUser
public void setUser(User user)
- Specified by:
setUser
in interface POP3MessagePersistenceProccessor
populatePOP3MessageList
public java.lang.String[] populatePOP3MessageList()
- Specified by:
populatePOP3MessageList
in interface POP3MessagePersistenceProccessor
deleteMessages
public java.lang.String[] deleteMessages()
- Specified by:
deleteMessages
in interface POP3MessagePersistenceProccessor
retreiveMessage
public void retreiveMessage(StreamHandler pop3CH,
int messageNumber)
throws TooManyErrorsException,
java.io.FileNotFoundException,
java.io.IOException
- Specified by:
retreiveMessage
in interface POP3MessagePersistenceProccessor
- Throws:
TooManyErrorsException
java.io.FileNotFoundException
java.io.IOException
retreiveMessageTop
public void retreiveMessageTop(StreamHandler pop3CH,
int messageNumber,
long numLines)
throws TooManyErrorsException,
java.io.FileNotFoundException,
java.io.IOException
- Specified by:
retreiveMessageTop
in interface POP3MessagePersistenceProccessor
- Throws:
TooManyErrorsException
java.io.FileNotFoundException
java.io.IOException