net.mtu.eggplant.io
Class IOUtils

java.lang.Object
  extended by net.mtu.eggplant.io.IOUtils

public final class IOUtils
extends Object

Handy functions for doing IO.


Constructor Summary
IOUtils()
           
 
Method Summary
static String readIntoString(Readable src)
          Read all data from src into a string and return it
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IOUtils

public IOUtils()
Method Detail

readIntoString

public static String readIntoString(Readable src)
                             throws IOException
Read all data from src into a string and return it

Parameters:
src - the source
Returns:
the string from source
Throws:
IOException