程序包 spring.turbo.io
类 BlackHoleWriter
java.lang.Object
java.io.Writer
spring.turbo.io.BlackHoleWriter
- 所有已实现的接口:
Closeable,Flushable,Appendable,AutoCloseable
- 从以下版本开始:
- 2.0.0
- 作者:
- 应卓
- 另请参阅:
-
字段概要
-
方法概要
修饰符和类型方法说明voidclose()voidflush()static BlackHoleWriter获取实例voidwrite(char[] cbuf, int off, int len)
-
方法详细资料
-
getInstance
获取实例- 返回:
- 实例
-
write
public void write(char[] cbuf, int off, int len) -
flush
- 指定者:
flush在接口中Flushable- 指定者:
flush在类中Writer- 抛出:
IOException
-
close
- 指定者:
close在接口中AutoCloseable- 指定者:
close在接口中Closeable- 指定者:
close在类中Writer- 抛出:
IOException
-