| java.lang.Object org.apache.cactus.internal.util.IoUtil
IoUtil | public class IoUtil (Code) | | Various utility methods for manipulating IO streams.
version: $Id: IoUtil.java 238991 2004-05-22 11:34:50Z vmassol $ |
getText | public static String getText(InputStream theStream, String theCharsetName) throws IOException(Code) | | Read all data in an Input stream and return them as a
String object.
Parameters: theStream - the input stream from which to read the data Parameters: theCharsetName - the charset name with which to read the data the string representation of the data throws: IOException - if an error occurs during the read of data |
|
|