|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.james.jdkim.impl.Message
public class Message
The header of an entity (see RFC 2045).
| Constructor Summary | |
|---|---|
Message(InputStream is)
Creates a new Header from the specified stream. |
|
| Method Summary | |
|---|---|
void |
dispose()
Make sure to dispose the message once used. |
InputStream |
getBodyInputStream()
|
List<String> |
getFields()
Gets the fields of this header. |
List<String> |
getFields(String name)
Gets all Fields having the specified field name in a case
insensitive way. |
String |
toString()
Return Header Object as String representation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Message(InputStream is)
throws IOException,
org.apache.james.mime4j.MimeException
Header from the specified stream.
is - the stream to read the header from.
IOException - on I/O errors.
org.apache.james.mime4j.MimeIOException - on MIME protocol violations.
org.apache.james.mime4j.MimeException| Method Detail |
|---|
public InputStream getBodyInputStream()
public List<String> getFields()
Headers
getFields in interface HeadersField objects.Headers.getFields()public List<String> getFields(String name)
HeadersFields having the specified field name in a case
insensitive way.
getFields in interface Headersname - the field name (e.g. From, Subject).
Headers.getFields(java.lang.String)public String toString()
toString in class Objectpublic void dispose()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||