org.apache.wicket.util.io
Class StringBufferWriter
java.lang.Object
java.io.Writer
org.apache.wicket.util.io.StringBufferWriter
- All Implemented Interfaces:
- Closeable, Flushable, Appendable
public class StringBufferWriter
- extends Writer
- Author:
- jcompagner
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringBufferWriter
public StringBufferWriter()
- Constructor
getStringBuffer
public AppendingStringBuffer getStringBuffer()
- Returns:
- The AppendingStringBuffer with the written data
setStringBuffer
public void setStringBuffer(AppendingStringBuffer buffer)
- Parameters:
buffer -
write
public void write(char ch)
- Writers the char to the buffer
- Parameters:
ch -
write
public void write(char[] charArray)
- Overrides:
write in class Writer
- See Also:
Writer.write(char[])
write
public void write(char[] charArray,
int offset,
int length)
- Specified by:
write in class Writer
- See Also:
Writer.write(char[], int, int)
write
public void write(String string)
- Overrides:
write in class Writer
- See Also:
Writer.write(java.lang.String)
write
public void write(String string,
int offset,
int length)
- Overrides:
write in class Writer
- See Also:
Writer.write(java.lang.String, int, int)
flush
public void flush()
- Specified by:
flush in interface Flushable- Specified by:
flush in class Writer
- See Also:
Writer.flush()
reset
public void reset()
- resets the buffer.
close
public void close()
- Specified by:
close in interface Closeable- Specified by:
close in class Writer
- See Also:
Writer.close()
Copyright © 2006–2015 Apache Software Foundation. All rights reserved.