Package | Description |
---|---|
org.apache.james.mime4j.message |
Modifier and Type | Method and Description |
---|---|
TextBody |
BodyFactory.textBody(java.io.InputStream is)
Creates a
TextBody that holds the content of the given input
stream. |
TextBody |
BodyFactory.textBody(java.io.InputStream is,
java.lang.String mimeCharset)
Creates a
TextBody that holds the content of the given input
stream. |
TextBody |
BodyFactory.textBody(Storage storage)
|
TextBody |
BodyFactory.textBody(Storage storage,
java.lang.String mimeCharset)
|
TextBody |
BodyFactory.textBody(java.lang.String text)
Creates a
TextBody that holds the content of the given string. |
TextBody |
BodyFactory.textBody(java.lang.String text,
java.lang.String mimeCharset)
Creates a
TextBody that holds the content of the given string. |
Modifier and Type | Method and Description |
---|---|
void |
Entity.setText(TextBody textBody)
Sets the specified
TextBody as body of this entity and the
content type to "text/plain". |
void |
Entity.setText(TextBody textBody,
java.lang.String subtype)
Sets the specified
TextBody as body of this entity. |
Copyright © 2004-2016. All Rights Reserved.