Package org.codehaus.groovy.control.io
Class NullWriter
- java.lang.Object
- 
- java.io.Writer
- 
- org.codehaus.groovy.control.io.NullWriter
 
 
- 
- All Implemented Interfaces:
- java.io.Closeable,- java.io.Flushable,- java.lang.Appendable,- java.lang.AutoCloseable
 
 public class NullWriter extends java.io.WriterAn Writer than eats its input.
- 
- 
Field SummaryFields Modifier and Type Field Description static NullWriterDEFAULT
 - 
Constructor SummaryConstructors Constructor Description NullWriter()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidflush()voidwrite(char[] cbuf, int off, int len)
 
- 
- 
- 
Field Detail- 
DEFAULTpublic static final NullWriter DEFAULT 
 
- 
 - 
Method Detail- 
closepublic void close() - Specified by:
- closein interface- java.lang.AutoCloseable
- Specified by:
- closein interface- java.io.Closeable
- Specified by:
- closein class- java.io.Writer
 
 - 
flushpublic void flush() - Specified by:
- flushin interface- java.io.Flushable
- Specified by:
- flushin class- java.io.Writer
 
 - 
writepublic void write(char[] cbuf, int off, int len)- Specified by:
- writein class- java.io.Writer
 
 
- 
 
-