Package org.apache.commons.lang3.text
Class StrBuilder.StrBuilderWriter
- java.lang.Object
-
- java.io.Writer
-
- org.apache.commons.lang3.text.StrBuilder.StrBuilderWriter
-
- All Implemented Interfaces:
java.io.Closeable,java.io.Flushable,java.lang.Appendable,java.lang.AutoCloseable
- Enclosing class:
- StrBuilder
class StrBuilder.StrBuilderWriter extends java.io.WriterInner class to allow StrBuilder to operate as a writer.
-
-
Constructor Summary
Constructors Constructor Description StrBuilderWriter()Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidflush()voidwrite(char[] cbuf)voidwrite(char[] cbuf, int off, int len)voidwrite(int c)voidwrite(java.lang.String str)voidwrite(java.lang.String str, int off, int len)
-
-
-
Method Detail
-
close
public void close()
- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Specified by:
closein classjava.io.Writer
-
flush
public void flush()
- Specified by:
flushin interfacejava.io.Flushable- Specified by:
flushin classjava.io.Writer
-
write
public void write(int c)
- Overrides:
writein classjava.io.Writer
-
write
public void write(char[] cbuf)
- Overrides:
writein classjava.io.Writer
-
write
public void write(char[] cbuf, int off, int len)- Specified by:
writein classjava.io.Writer
-
write
public void write(java.lang.String str)
- Overrides:
writein classjava.io.Writer
-
write
public void write(java.lang.String str, int off, int len)- Overrides:
writein classjava.io.Writer
-
-