|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.axiom.om.util.TextHelper
public class TextHelper
| Constructor Summary | |
|---|---|
TextHelper()
|
|
| Method Summary | |
|---|---|
static OMText |
toOMText(byte[] b,
int off,
int length,
OMFactory factory,
boolean isOptimize)
Deprecated. The implementation of this method is incomplete. It will be removed in Axiom 1.3. |
static OMText |
toOMText(byte[] b,
int off,
int length,
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(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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TextHelper()
| Method Detail |
|---|
public static String toString(InputStream inStream)
throws IOException
IOException
public static void toStringBuffer(InputStream inStream,
StringBuffer buffer)
throws IOException
IOException
public static void toStringBuffer(OMText omText,
StringBuffer buffer)
throws IOException
OMText
instance to a StringBuffer, then request the DataHandler using
OMText.getDataHandler() and use
Base64EncodingStringBufferOutputStream to encode it.
IOException
public static OMText toOMText(byte[] b,
int off,
int length,
OMFactory factory,
boolean isOptimize)
throws IOException,
MessagingException
IOException
MessagingException
public static OMText toOMText(byte[] b,
int off,
int length,
OMFactory factory,
boolean isOptimize,
String attachmentDir)
throws IOException,
MessagingException
IOException
MessagingException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||