com.ericdaugherty.mail.server.persistence.localDelivery
Class TestingFileIOProcessor

java.lang.Object
  extended by com.ericdaugherty.mail.server.persistence.localDelivery.SimpleFileIOProcessor
      extended by com.ericdaugherty.mail.server.persistence.localDelivery.TestingFileIOProcessor
All Implemented Interfaces:
LocalDeliveryProcessor

public class TestingFileIOProcessor
extends SimpleFileIOProcessor

Author:
Andreas Kyrmegalos

Field Summary
 
Fields inherited from class com.ericdaugherty.mail.server.persistence.localDelivery.SimpleFileIOProcessor
configurationManager
 
Constructor Summary
TestingFileIOProcessor()
           
 
Method Summary
 java.lang.String getUserRepository(User user)
          Gets the user's directory as a String.
 
Methods inherited from class com.ericdaugherty.mail.server.persistence.localDelivery.SimpleFileIOProcessor
createUserRepository, getMessagePersistedSize, persistLocalMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestingFileIOProcessor

public TestingFileIOProcessor()
Method Detail

getUserRepository

public java.lang.String getUserRepository(User user)
Description copied from class: SimpleFileIOProcessor
Gets the user's directory as a String. This method also verifies that the directory exists.

Specified by:
getUserRepository in interface LocalDeliveryProcessor
Overrides:
getUserRepository in class SimpleFileIOProcessor
Parameters:
user - The user the message belongs to.
Returns:
The full path denoting the user's directory.