public static void copy(InputStream input,
OutputStream output) throws IOException {
//--------------------------------------------------------------------------
// Protected Variables:
//--------------------------------------------------------------------------
//--------------------------------------------------------------------------
// Private Variables:
//--------------------------------------------------------------------------
//--------------------------------------------------------------------------
// Constructors:
//--------------------------------------------------------------------------
//--------------------------------------------------------------------------
// Public Methods:
//--------------------------------------------------------------------------
copy(input, output, DEFAULT_BUFFER_SIZE);
}
Copies information from the input stream to the output stream using
a default buffer size of 2048 bytes. |