org.fife.io
Class IOUtil

java.lang.Object
  extended by org.fife.io.IOUtil

public class IOUtil
extends java.lang.Object

Obligatory IO utilities.

Version:
1.0
Author:
Robert Futrell

Method Summary
static java.lang.String readFully(java.io.InputStream in)
          Reads all text from an input stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

readFully

public static java.lang.String readFully(java.io.InputStream in)
                                  throws java.io.IOException
Reads all text from an input stream. The stream will be closed when this method returns.

Parameters:
in - The input stream to read from. Will be closed on return.
Returns:
The text read from the stream.
Throws:
java.io.IOException - If an IO error occurs.