Class StringBuilderWriter
- java.lang.Object
-
- java.io.Writer
-
- com.atlassian.confluence.search.v2.extractor.util.StringBuilderWriter
-
- All Implemented Interfaces:
Closeable,Flushable,Appendable,AutoCloseable
public class StringBuilderWriter extends Writer
Writer that writes to given StringBuilder.- Since:
- 8.0
-
-
Constructor Summary
Constructors Constructor Description StringBuilderWriter(AbstractLengthLimitedStringBuilder sb)
-
-
-
Constructor Detail
-
StringBuilderWriter
public StringBuilderWriter(AbstractLengthLimitedStringBuilder sb)
-
-
Method Detail
-
write
public void write(char[] cbuf, int off, int len) throws IOException- Specified by:
writein classWriter- Throws:
IOException
-
flush
public void flush()
-
close
public void close()
-
-