com.ericdaugherty.mail.server.services.smtp.support
Class AddDataLineDebug

java.lang.Object
  extended by com.ericdaugherty.mail.server.services.smtp.support.AddDataLineDefault
      extended by com.ericdaugherty.mail.server.services.smtp.support.AddDataLineDebug
All Implemented Interfaces:
AddDataLine

public final class AddDataLineDebug
extends AddDataLineDefault

Adds a line of text to the incoming mail and prints the current attachment size at predetermined intervals.

Author:
Andreas Kyrmegalos

Field Summary
 
Fields inherited from class com.ericdaugherty.mail.server.services.smtp.support.AddDataLineDefault
message
 
Constructor Summary
AddDataLineDebug(SMTPMessage message, org.apache.commons.logging.Log log)
           
 
Method Summary
 void addDataLine(byte[] line)
           
 
Methods inherited from class com.ericdaugherty.mail.server.services.smtp.support.AddDataLineDefault
flush
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddDataLineDebug

public AddDataLineDebug(SMTPMessage message,
                        org.apache.commons.logging.Log log)
Method Detail

addDataLine

public void addDataLine(byte[] line)
                 throws java.io.IOException
Specified by:
addDataLine in interface AddDataLine
Overrides:
addDataLine in class AddDataLineDefault
Throws:
java.io.IOException