com.esri.aims.mtier.model.util
Class InputStreamToString

java.lang.Object
  |
  +--com.esri.aims.mtier.model.util.InputStreamToString

public class InputStreamToString
extends Object

Converts an InputStream Object to a String object.

Example:

InputStreamToString inputStreamToString = new InputStreamToString();


Constructor Summary
InputStreamToString()
           
 
Method Summary
static String writeString(InputStream inputStream)
          Creates a String object from an InputStream object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InputStreamToString

public InputStreamToString()
Method Detail

writeString

public static String writeString(InputStream inputStream)
Creates a String object from an InputStream object.

Example:

  String streamString = inputStreamToString.writeString(InputStreamObject);
 

Parameters:
inputStream - the InputStream object to convert.
Returns:
String