Package org.apache.myfaces.util.lang
Class StreamCharBuffer.StreamCharBufferWriter
- java.lang.Object
-
- java.io.Writer
-
- org.apache.myfaces.util.lang.StreamCharBuffer.StreamCharBufferWriter
-
- All Implemented Interfaces:
Closeable,Flushable,Appendable,AutoCloseable
- Enclosing class:
- StreamCharBuffer
public final class StreamCharBuffer.StreamCharBufferWriter extends Writer
This is the java.io.Writer implementation for StreamCharBuffer- Author:
- Lari Hotari, Sagire Software Oy
-
-
Constructor Summary
Constructors Constructor Description StreamCharBufferWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Writerappend(CharSequence csq)Writerappend(CharSequence csq, int start, int end)voidclose()voidflush()StreamCharBuffergetBuffer()booleanisClosed()booleanisUsed()voidmarkUsed()intresetUsed()voidwrite(char[] b, int off, int len)voidwrite(int b)voidwrite(String str)voidwrite(String str, int off, int len)voidwrite(StreamCharBuffer subBuffer)-
Methods inherited from class java.io.Writer
append, nullWriter, write
-
-
-
-
Method Detail
-
write
public final void write(char[] b, int off, int len) throws IOException- Specified by:
writein classWriter- Throws:
IOException
-
write
public final void write(String str) throws IOException
- Overrides:
writein classWriter- Throws:
IOException
-
write
public final void write(String str, int off, int len) throws IOException
- Overrides:
writein classWriter- Throws:
IOException
-
write
public final void write(StreamCharBuffer subBuffer) throws IOException
- Throws:
IOException
-
append
public final Writer append(CharSequence csq, int start, int end) throws IOException
- Specified by:
appendin interfaceAppendable- Overrides:
appendin classWriter- Throws:
IOException
-
append
public final Writer append(CharSequence csq) throws IOException
- Specified by:
appendin interfaceAppendable- Overrides:
appendin classWriter- Throws:
IOException
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein classWriter- Throws:
IOException
-
isClosed
public boolean isClosed()
-
isUsed
public boolean isUsed()
-
markUsed
public final void markUsed()
-
resetUsed
public int resetUsed()
-
write
public void write(int b) throws IOException- Overrides:
writein classWriter- Throws:
IOException
-
flush
public void flush() throws IOException- Specified by:
flushin interfaceFlushable- Specified by:
flushin classWriter- Throws:
IOException
-
getBuffer
public final StreamCharBuffer getBuffer()
-
-