程序包 dev.utils.common
类 CloseUtils
java.lang.Object
dev.utils.common.CloseUtils
detail: 关闭 ( IO 流 ) 工具类
- 作者:
- Ttt
-
方法概要
修饰符和类型方法说明static void关闭 IOstatic voidcloseIOQuietly(Closeable... closeables) 安静关闭 IOstatic void将缓冲区数据输出static voidflushCloseIO(OutputStream outputStream) 将缓冲区数据输出并关闭流static voidflushCloseIO(Writer writer) 将缓冲区数据输出并关闭流static voidflushCloseIOQuietly(OutputStream outputStream) 安静将缓冲区数据输出并关闭流static voidflushCloseIOQuietly(Writer writer) 安静将缓冲区数据输出并关闭流static voidflushQuietly(Flushable... flushables) 安静将缓冲区数据输出
-
方法详细资料
-
closeIO
关闭 IO- 参数:
closeables- Closeable[]
-
closeIOQuietly
安静关闭 IO- 参数:
closeables- Closeable[]
-
flush
将缓冲区数据输出- 参数:
flushables- Flushable[]
-
flushQuietly
安静将缓冲区数据输出- 参数:
flushables- Flushable[]
-
flushCloseIO
将缓冲区数据输出并关闭流- 参数:
outputStream-OutputStream
-
flushCloseIOQuietly
安静将缓冲区数据输出并关闭流- 参数:
outputStream-OutputStream
-
flushCloseIO
将缓冲区数据输出并关闭流- 参数:
writer-Writer
-
flushCloseIOQuietly
安静将缓冲区数据输出并关闭流- 参数:
writer-Writer
-