java.lang.Object
java.io.Writer
org.apache.wicket.util.io.StringBufferWriter
- All Implemented Interfaces:
Closeable,Flushable,Appendable,AutoCloseable
- Author:
- jcompagner
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidflush()voidreset()resets the buffer.voidsetStringBuffer(AppendingStringBuffer buffer) voidwrite(char ch) Writers the char to the buffervoidwrite(char[] charArray) voidwrite(char[] charArray, int offset, int length) voidvoid
-
Constructor Details
-
StringBufferWriter
public StringBufferWriter()Constructor
-
-
Method Details
-
getStringBuffer
- Returns:
- The AppendingStringBuffer with the written data
-
setStringBuffer
- Parameters:
buffer-
-
write
Writers the char to the buffer- Parameters:
ch-
-
write
-
write
-
write
-
write
-
flush
-
reset
resets the buffer. -
close
-