public final class TextFinder
extends java.lang.Object
TextFinder - Looks-up the primary text content of a message.| Constructor and Description |
|---|
TextFinder()
Initializes a new
TextFinder. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getText(MailPart p)
Gets the primary text content of the specified part.
|
java.lang.String |
handleTNEFStream(java.io.InputStream inputStream)
Handles specified TNEF stream.
|
public TextFinder()
TextFinder.public java.lang.String getText(MailPart p) throws com.openexchange.exception.OXException
p - The partnullcom.openexchange.exception.OXException - If primary text content cannot be returnedpublic java.lang.String handleTNEFStream(java.io.InputStream inputStream)
throws com.openexchange.exception.OXException
inputStream - The TNEF streamcom.openexchange.exception.OXException - If an OX error occurs