Class AbstractContentHandler

java.lang.Object
org.apache.james.mime4j.parser.AbstractContentHandler
All Implemented Interfaces:
ContentHandler
Direct Known Subclasses:
SimpleContentHandler

public abstract class AbstractContentHandler extends Object implements ContentHandler
Abstract base class for custom ContentHandler implementations. Methods of this class take no action and are expected to be selectively overridden by super-classes.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when the body of a discrete (non-multipart) entity is about to be parsed.
    void
    Called when a body part ends.
    void
    Called when there are no more header fields in a message or body part.
    void
    Called when a message ends.
    void
    Called when the body of an entity has been parsed.
    void
    Called for the epilogue (whatever comes after the final body part) of a multipart/* entity.
    void
    field(Field field)
    Called for each field of a header.
    void
    Called for the preamble (whatever comes before the first body part) of a multipart/* entity.
    void
    Called when a new entity (message or body part) starts and the parser is in raw mode.
    void
    Called when a new body part starts inside a multipart/* entity.
    void
    Called when a header (of a message or body part) is about to be parsed.
    void
    Called when a new message starts (a top level message or an embedded rfc822 message).
    void
    Called when the body of a multipart entity is about to be parsed.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait