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 TypeMethodDescriptionvoid
close()
void
flush()
void
reset()
resets the buffer.void
setStringBuffer
(AppendingStringBuffer buffer) void
write
(char ch) Writers the char to the buffervoid
write
(char[] charArray) void
write
(char[] charArray, int offset, int length) void
void
-
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
-