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 SummaryConstructors Constructor Description StreamCharBufferWriter()
 - 
Method SummaryAll 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.Writerappend, nullWriter, write
 
- 
 
- 
- 
- 
Method Detail- 
writepublic final void write(char[] b, int off, int len) throws IOException- Specified by:
- writein class- Writer
- Throws:
- IOException
 
 - 
writepublic final void write(String str) throws IOException - Overrides:
- writein class- Writer
- Throws:
- IOException
 
 - 
writepublic final void write(String str, int off, int len) throws IOException - Overrides:
- writein class- Writer
- Throws:
- IOException
 
 - 
writepublic final void write(StreamCharBuffer subBuffer) throws IOException - Throws:
- IOException
 
 - 
appendpublic final Writer append(CharSequence csq, int start, int end) throws IOException - Specified by:
- appendin interface- Appendable
- Overrides:
- appendin class- Writer
- Throws:
- IOException
 
 - 
appendpublic final Writer append(CharSequence csq) throws IOException - Specified by:
- appendin interface- Appendable
- Overrides:
- appendin class- Writer
- Throws:
- IOException
 
 - 
closepublic void close() throws IOException- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
- Specified by:
- closein class- Writer
- Throws:
- IOException
 
 - 
isClosedpublic boolean isClosed() 
 - 
isUsedpublic boolean isUsed() 
 - 
markUsedpublic final void markUsed() 
 - 
resetUsedpublic int resetUsed() 
 - 
writepublic void write(int b) throws IOException- Overrides:
- writein class- Writer
- Throws:
- IOException
 
 - 
flushpublic void flush() throws IOException- Specified by:
- flushin interface- Flushable
- Specified by:
- flushin class- Writer
- Throws:
- IOException
 
 - 
getBufferpublic final StreamCharBuffer getBuffer() 
 
- 
 
-