org.jboss.maven.plugins.jdocbook.gen.util
Class NoOpWriter

java.lang.Object
  extended by java.io.Writer
      extended by org.jboss.maven.plugins.jdocbook.gen.util.NoOpWriter
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable, java.lang.Appendable

public class NoOpWriter
extends java.io.Writer

A writer which does no writing :)

Author:
Steve Ebersole

Field Summary
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
NoOpWriter()
           
 
Method Summary
 void close()
           
 void flush()
           
 void write(char[] cbuf, int off, int len)
           
 
Methods inherited from class java.io.Writer
append, append, append, write, write, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoOpWriter

public NoOpWriter()
Method Detail

write

public void write(char[] cbuf,
                  int off,
                  int len)
Specified by:
write in class java.io.Writer

flush

public void flush()
Specified by:
flush in interface java.io.Flushable
Specified by:
flush in class java.io.Writer

close

public void close()
Specified by:
close in interface java.io.Closeable
Specified by:
close in class java.io.Writer


Copyright © 2007 JBoss, a division of Red Hat, Inc. All Rights Reserved.