[Java] Class NullWriter
- org.codehaus.groovy.control.io.NullWriter
public class NullWriter extends Writer
An Writer than eats its input.
Field Summary
Modifiers | Name | Description |
---|---|---|
static NullWriter | DEFAULT |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
public void |
close() | |
public void |
flush() | |
public void |
write(char[] cbuf, int off, int len) |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Writer | append, append, append, append, append, append, write, write, write, write, write, flush, close, nullWriter, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Field Detail
public static final NullWriter DEFAULT
Method Detail
public void close()
public void flush()
public void write(char[] cbuf, int off, int len)
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/codehaus/groovy/control/io/NullWriter.html