提交 7637db4c 编写于 作者: J jurgen

IO utils

Former-commit-id: 55fd0448
上级 f367d168
......@@ -38,23 +38,13 @@ public final class IOUtils {
}
}
public static void writeStream(
public static void copyStream(
java.io.InputStream inputStream,
java.io.OutputStream outputStream)
throws IOException
{
writeStream(inputStream, outputStream, DEFAULT_BUFFER_SIZE);
copyStream(inputStream, outputStream, DEFAULT_BUFFER_SIZE);
}
public static void writeStream(
java.io.InputStream inputStream,
java.io.OutputStream outputStream,
int bufferSize)
throws IOException
{
copyStream(inputStream, outputStream, bufferSize);
}
/**
Read entire input stream and writes all data to output stream
then closes input and flushed output
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册