org.openxava.util
Class InputStreams

java.lang.Object
  extended by org.openxava.util.InputStreams

public class InputStreams
extends java.lang.Object

Utilities to working with java.io.InputStream).

Author:
Javier Paniza

Constructor Summary
InputStreams()
           
 
Method Summary
static java.lang.String toString(java.io.InputStream in)
          Returns the content of the input stream in string format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InputStreams

public InputStreams()
Method Detail

toString

public static java.lang.String toString(java.io.InputStream in)
                                 throws java.io.IOException
Returns the content of the input stream in string format.

Parameters:
in - Cannot be null
Returns:
Never null
Throws:
java.io.IOException - If some problem