1
package org.crosswire.io;
6
* NullWriter allows you to write to /dev/null
9
public class NullWriter extends Writer
12
* Override write to ask the listed Streams.
13
* @param b The byte to be written, as normal.
15
public void write(char[] cbuf, int off, int len) throws IOException
20
* Override write to ask the listed Streams.
21
* @param b The byte to be written, as normal.
23
public void write(int b) throws IOException
28
* Override flush to flush the listed Streams.
30
public void flush() throws IOException
35
* If someone closes the TeeWriter then we go round
36
* and close all the Streams on the stack.
38
public void close() throws IOException