Groovy 1.7.0

org.codehaus.groovy.control.io
Class NullWriter

java.lang.Object
  java.io.Writer
      org.codehaus.groovy.control.io.NullWriter

class NullWriter
extends Writer

An Writer than eats its input.

author:
Chris Poirier
version:
$Id: NullWriter.java 6778 2007-07-02 10:40:33Z glaforge $


Field Summary
static NullWriter DEFAULT

 
Constructor Summary
NullWriter()

 
Method Summary
void close()

void flush()

void write(char[] cbuf, int off, int len)

 
Methods inherited from class Writer
append, append, append, append, append, append, write, write, write, write, write, close, flush, wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll
 
Methods inherited from class Object
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll
 

Field Detail

DEFAULT

static final NullWriter DEFAULT


 
Constructor Detail

NullWriter

NullWriter()


 
Method Detail

close

public void close()


flush

public void flush()


write

public void write(char[] cbuf, int off, int len)


 

Copyright © 2003-2009 The Codehaus. All rights reserved.