org.apache.axiom.om.util
Class TextHelper

java.lang.Object
  extended by org.apache.axiom.om.util.TextHelper

public class TextHelper
extends Object


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

TextHelper

public TextHelper()
Method Detail

toString

public static String toString(InputStream inStream)
                       throws IOException
Deprecated. This method was internally used by Axiom before version 1.2.9 but is no longer required.

Throws:
IOException

toStringBuffer

public static void toStringBuffer(InputStream inStream,
                                  StringBuffer buffer)
                           throws IOException
Deprecated. This method was internally used by Axiom before version 1.2.9 but is no longer required.

Throws:
IOException

toStringBuffer

public static void toStringBuffer(OMText omText,
                                  StringBuffer buffer)
                           throws IOException
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.

Throws:
IOException

toOMText

public static OMText toOMText(byte[] b,
                              int off,
                              int length,
                              OMFactory factory,
                              boolean isOptimize)
                       throws IOException,
                              MessagingException
Deprecated. The implementation of this method is incomplete. It will be removed in Axiom 1.3.

Throws:
IOException
MessagingException

toOMText

public static OMText toOMText(byte[] b,
                              int off,
                              int length,
                              OMFactory factory,
                              boolean isOptimize,
                              String attachmentDir)
                       throws IOException,
                              MessagingException
Deprecated. The implementation of this method is incomplete. It will be removed in Axiom 1.3.

Throws:
IOException
MessagingException


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.