Package com.tangosol.util
Class NullImplementation.NullWriter
java.lang.Object
java.io.Writer
com.tangosol.util.NullImplementation.NullWriter
- All Implemented Interfaces:
Closeable
,Flushable
,Appendable
,AutoCloseable
- Enclosing class:
NullImplementation
A writer that does basically nothing. Note that multiple instances are
required because the API dictates that the close method must cause
further invocations to all other methods to throw an IOException.
- Author:
- cp 2000.08.02
-
Field Summary
-
Method Summary
Methods inherited from class java.io.Writer
append, append, append, nullWriter
-
Method Details
-
write
- Overrides:
write
in classWriter
- Throws:
IOException
-
write
- Specified by:
write
in classWriter
- Throws:
IOException
-
write
- Overrides:
write
in classWriter
- Throws:
IOException
-
write
- Overrides:
write
in classWriter
- Throws:
IOException
-
write
- Overrides:
write
in classWriter
- Throws:
IOException
-
flush
- Specified by:
flush
in interfaceFlushable
- Specified by:
flush
in classWriter
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in classWriter
- Throws:
IOException
-