Package org.jboss.logmanager.formatters
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 java.io.Writer
nullWriter
-
Constructor Details
-
StringBuilderWriter
public StringBuilderWriter() -
StringBuilderWriter
-
-
Method Details
-
clear
public void clear()Clears the builder used for the writer.- See Also:
-
write
public void write(char[] cbuf, int off, int len) -
write
public void write(int c) -
write
public void write(char[] cbuf) -
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
public void flush() -
close
public void close() -
toString
-