src/org/nutz/lang/Streams.java
public static long writeAndClose(Writer writer, Reader reader) {
        try {
            return write(writer, reader);
        }
        catch (IOException e) {
            throw Lang.wrapThrow(e);
        }
        finally {
            safeClose(writer);
            safeClose(reader);
        }
    }
public static long writeAndClose(Writer writer, Reader reader) {
        try {
            return write(writer, reader);
        }
        catch (IOException e) {
            throw Lang.wrapThrow(e);
        }
        finally {
            safeClose(writer);
            safeClose(reader);
        }
    }
public static long writeAndClose ( Writer writer , Reader reader ) { try { return write ( writer , reader ) ; } catch ( IOException e ) { throw Lang . wrapThrow ( e ) ; } finally { safeClose ( writer ) ; safeClose ( reader ) ; } }
将文本输入流写入一个文本输出流。块大小为 8192
<p>
<b style=color:red>注意</b>，它会关闭输入/出流

@param writer
输出流
@param reader
输入流
将文本输入流写入一个文本输出流。块大小为 8192 <p > <b style = color : red > 注意< / b > ，它会关闭输入 / 出流