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.Writer
Inner 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 void
close()
void
flush()
void
write(char[] cbuf)
void
write(char[] cbuf, int off, int len)
void
write(int c)
void
write(java.lang.String str)
void
write(java.lang.String str, int off, int len)
-
-
-
Method Detail
-
close
public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Specified by:
close
in classjava.io.Writer
-
flush
public void flush()
- Specified by:
flush
in interfacejava.io.Flushable
- Specified by:
flush
in classjava.io.Writer
-
write
public void write(int c)
- Overrides:
write
in classjava.io.Writer
-
write
public void write(char[] cbuf)
- Overrides:
write
in classjava.io.Writer
-
write
public void write(char[] cbuf, int off, int len)
- Specified by:
write
in classjava.io.Writer
-
write
public void write(java.lang.String str)
- Overrides:
write
in classjava.io.Writer
-
write
public void write(java.lang.String str, int off, int len)
- Overrides:
write
in classjava.io.Writer
-
-