public class TextHelper extends Object
| Constructor and Description |
|---|
TextHelper()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static org.apache.axiom.om.OMText |
toOMText(byte[] b,
int off,
int length,
org.apache.axiom.om.OMFactory factory,
boolean isOptimize)
Deprecated.
The implementation of this method is incomplete. It will be removed in Axiom 1.3.
|
static org.apache.axiom.om.OMText |
toOMText(byte[] b,
int off,
int length,
org.apache.axiom.om.OMFactory factory,
boolean isOptimize,
String attachmentDir)
Deprecated.
The implementation of this method is incomplete. It will be removed in Axiom 1.3.
|
static String |
toString(InputStream inStream)
Deprecated.
This method was internally used by Axiom before version 1.2.9 but is no longer
required.
|
static void |
toStringBuffer(InputStream inStream,
StringBuffer buffer)
Deprecated.
This method was internally used by Axiom before version 1.2.9 but is no longer
required.
|
static void |
toStringBuffer(org.apache.axiom.om.OMText omText,
StringBuffer buffer)
Deprecated.
If you really need to write the base64 encoded content of an
OMText
instance to a StringBuffer, then request the DataHandler using
OMText.getDataHandler() and use
Base64EncodingStringBufferOutputStream to encode it. |
public static String toString(InputStream inStream) throws IOException
IOExceptionpublic static void toStringBuffer(InputStream inStream, StringBuffer buffer) throws IOException
IOExceptionpublic static void toStringBuffer(org.apache.axiom.om.OMText omText,
StringBuffer buffer)
throws IOException
OMText
instance to a StringBuffer, then request the DataHandler using
OMText.getDataHandler() and use
Base64EncodingStringBufferOutputStream to encode it.IOExceptionpublic static org.apache.axiom.om.OMText toOMText(byte[] b,
int off,
int length,
org.apache.axiom.om.OMFactory factory,
boolean isOptimize)
throws IOException,
javax.mail.MessagingException
IOExceptionjavax.mail.MessagingExceptionpublic static org.apache.axiom.om.OMText toOMText(byte[] b,
int off,
int length,
org.apache.axiom.om.OMFactory factory,
boolean isOptimize,
String attachmentDir)
throws IOException,
javax.mail.MessagingException
IOExceptionjavax.mail.MessagingExceptionCopyright ? The Apache Software Foundation. All Rights Reserved.