org.kohsuke.stapler.framework.io
Class CharSpool
java.lang.Object
java.io.Writer
org.kohsuke.stapler.framework.io.CharSpool
- All Implemented Interfaces:
- Closeable, Flushable, Appendable
public final class CharSpool
- extends Writer
Writer
that spools the output and writes to another Writer
later.
- Author:
- Kohsuke Kawaguchi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CharSpool
public CharSpool()
write
public void write(char[] cbuf,
int off,
int len)
- Specified by:
write
in class Writer
write
public void write(int c)
- Overrides:
write
in class Writer
flush
public void flush()
- Specified by:
flush
in interface Flushable
- Specified by:
flush
in class Writer
close
public void close()
- Specified by:
close
in interface Closeable
- Specified by:
close
in class Writer
writeTo
public void writeTo(Writer w)
throws IOException
- Throws:
IOException
Copyright © 2010. All Rights Reserved.