org.apache.catalina.util
public class IOTools extends Object
Field Summary | |
---|---|
protected static int | DEFAULT_BUFFER_SIZE |
Method Summary | |
---|---|
static void | flow(Reader reader, Writer writer, char[] buf)
Read input from reader and write it to writer until there is no more
input from reader.
|
static void | flow(Reader reader, Writer writer) |
static void | flow(InputStream is, OutputStream os, byte[] buf)
Read input from input stream and write it to output stream
until there is no more input from input stream.
|
static void | flow(InputStream is, OutputStream os) |
Parameters: reader the reader to read from. writer the writer to write to. buf the char array to use as a bufferx
See Also: ( Reader, Writer, char[] )
Parameters: is input stream the input stream to read from. os output stream the output stream to write to. buf the byte array to use as a buffer