com.ericdaugherty.mail.server.services.smtp
Class MIMEProcessor

java.lang.Object
  extended by com.ericdaugherty.mail.server.services.smtp.MIMEConstants
      extended by com.ericdaugherty.mail.server.services.smtp.MIMEProcessor
Direct Known Subclasses:
SMTPProcessor

public class MIMEProcessor
extends MIMEConstants

Each line of an incloming message is parsed based on rfc MIME rules.

Author:
Andreas Kyrmegalos

Nested Class Summary
protected  class MIMEProcessor.MIMEBody
           
 
Field Summary
protected  ConfigurationManager configurationManager
          The ConfigurationManager
protected  boolean isMessage8bitMIME
           
protected  java.util.Locale locale
           
protected  MIMEProcessor.MIMEBody mimeBody
           
protected static java.lang.String US_ASCII
           
 
Fields inherited from class com.ericdaugherty.mail.server.services.smtp.MIMEConstants
MIME_MULTIPART, MIME_OTHER, MIME_TEXT, MIME_UNDEFINED, MIME8BIT, MIMEAAUTOCONVERT, MIMEBASE64ENCODING, MIMEBOUNDARY, MIMECONTENT_TRANSFER_ENCODING, MIMECONTENT_TYPE, MIMEMULTIPART, MIMERFC822, MIMETEXT, MIMEVERSION
 
Constructor Summary
protected MIMEProcessor()
           
 
Method Summary
protected  boolean checkEndOfDATA(byte[] output)
           
protected  void processDATA(byte[] output)
           
protected  void setAddDataLine(AddDataLine addDataLine)
           
protected  void setDomain(java.lang.String domain)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

configurationManager

protected final ConfigurationManager configurationManager
The ConfigurationManager


locale

protected final java.util.Locale locale

mimeBody

protected MIMEProcessor.MIMEBody mimeBody

isMessage8bitMIME

protected boolean isMessage8bitMIME

US_ASCII

protected static final java.lang.String US_ASCII
See Also:
Constant Field Values
Constructor Detail

MIMEProcessor

protected MIMEProcessor()
Method Detail

setAddDataLine

protected void setAddDataLine(AddDataLine addDataLine)

setDomain

protected void setDomain(java.lang.String domain)

processDATA

protected final void processDATA(byte[] output)
                          throws java.io.IOException
Throws:
java.io.IOException

checkEndOfDATA

protected boolean checkEndOfDATA(byte[] output)
                          throws java.io.IOException
Throws:
java.io.IOException