Class StringBuilderWriter
java.lang.Object
java.io.Writer
org.jboss.logmanager.formatters.StringBuilderWriter
- All Implemented Interfaces:
Closeable, Flushable, Appendable, AutoCloseable
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend(char c) append(CharSequence csq) append(CharSequence csq, int start, int end) voidclear()Clears the builder used for the writer.voidclose()voidflush()toString()voidwrite(char[] cbuf) voidwrite(char[] cbuf, int off, int len) voidwrite(int c) voidvoidMethods inherited from class Writer
nullWriter
-
Constructor Details
-
StringBuilderWriter
public StringBuilderWriter() -
StringBuilderWriter
-
-
Method Details
-
clear
public void clear()Clears the builder used for the writer.- See Also:
-
write
-
write
-
write
-
write
-
write
-
append
- Specified by:
appendin interfaceAppendable- Overrides:
appendin classWriter
-
append
- Specified by:
appendin interfaceAppendable- Overrides:
appendin classWriter
-
append
- Specified by:
appendin interfaceAppendable- Overrides:
appendin classWriter
-
flush
-
close
-
toString
-