Package org.apache.james.jdkim.impl
Class Message
java.lang.Object
org.apache.james.jdkim.impl.Message
- All Implemented Interfaces:
Headers
The header of an entity (see RFC 2045).
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Message
Creates a newHeaderfrom the specified stream.- Parameters:
is- the stream to read the header from.- Throws:
IOException- on I/O errors.org.apache.james.mime4j.MimeException- on MIME protocol violations.
-
-
Method Details
-
getBodyInputStream
-
getFields
-
getFields
-
toString
Return Header Object as String representation. Each headerline is seperated by "\r\n" -
dispose
public void dispose()Make sure to dispose the message once used.
-