Package com.yahoo.text
Class JavaWriterWriter
- java.lang.Object
-
- java.io.Writer
-
- com.yahoo.text.GenericWriter
-
- com.yahoo.text.JavaWriterWriter
-
- All Implemented Interfaces:
java.io.Closeable
,java.io.Flushable
,java.lang.Appendable
,java.lang.AutoCloseable
public final class JavaWriterWriter extends GenericWriter
Wraps a simple java.lang.Writer. Of course you loose the possible optimizations.- Since:
- 5.2
- Author:
- baldersheim
-
-
Constructor Summary
Constructors Constructor Description JavaWriterWriter(java.io.Writer writer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
flush()
java.io.Writer
getWriter()
void
write(char[] c, int offset, int bytes)
-
Methods inherited from class com.yahoo.text.GenericWriter
write, write, write, write, write, write, write, write, write
-
-
-
-
Method Detail
-
write
public void write(char[] c, int offset, int bytes)
- Specified by:
write
in classjava.io.Writer
-
flush
public void flush()
- Specified by:
flush
in interfacejava.io.Flushable
- Specified by:
flush
in classjava.io.Writer
-
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
-
getWriter
public final java.io.Writer getWriter()
-
-