/** * Method description * * * @param reader * @param writer */ public static void copyThread(Reader reader, Writer writer) { copyThread(reader, writer, DEFAULT_BUFFERSIZE); }
/** * Method description * * * @param input * @param output */ public static void copyThread(InputStream input, OutputStream output) { copyThread(input, output, DEFAULT_BUFFERSIZE); }
/** * Method description * * * @param input * @param output */ public static void copyThread(InputStream input, OutputStream output) { copyThread(input, output, DEFAULT_BUFFERSIZE); }
/** * Method description * * * @param reader * @param writer */ public static void copyThread(Reader reader, Writer writer) { copyThread(reader, writer, DEFAULT_BUFFERSIZE); }
final int inLength = length; IOUtil.copyThread(p.getErrorStream(), new LoggingOutputStream(logger, LoggingOutputStream.LEVEL_ERROR));
final int inLength = length; IOUtil.copyThread(p.getErrorStream(), new LoggingOutputStream(logger, LoggingOutputStream.LEVEL_ERROR));