Package edu.uky.ai.io
Class DummyWriter
java.lang.Object
java.io.Writer
edu.uky.ai.io.DummyWriter
- All Implemented Interfaces:
java.io.Closeable
,java.io.Flushable
,java.lang.Appendable
,java.lang.AutoCloseable
public class DummyWriter
extends java.io.Writer
An implementation of
Writer
that does nothing.- Author:
- Stephen G. Ware
-
Constructor Summary
Constructors Constructor Description DummyWriter()
-
Method Summary
-
Constructor Details
-
DummyWriter
public DummyWriter()
-
-
Method Details
-
write
public void write(char[] arg0, int arg1, int arg2) throws java.io.IOException- Specified by:
write
in classjava.io.Writer
- Throws:
java.io.IOException
-
flush
public void flush() throws java.io.IOException- Specified by:
flush
in interfacejava.io.Flushable
- Specified by:
flush
in classjava.io.Writer
- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Specified by:
close
in classjava.io.Writer
- Throws:
java.io.IOException
-