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
This is the java.io.Writer implementation for StreamCharBuffer
- Author:
- Lari Hotari, Sagire Software Oy
- 
Field Summary
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfinal Writerappend(CharSequence csq) final Writerappend(CharSequence csq, int start, int end) voidclose()voidflush()final StreamCharBufferbooleanisClosed()booleanisUsed()final voidmarkUsed()intfinal voidwrite(char[] b, int off, int len) voidwrite(int b) final voidfinal voidfinal voidwrite(StreamCharBuffer subBuffer) Methods inherited from class java.io.Writerappend, nullWriter, write
- 
Constructor Details- 
StreamCharBufferWriterpublic StreamCharBufferWriter()
 
- 
- 
Method Details- 
write- Specified by:
- writein class- Writer
- Throws:
- IOException
 
- 
write- Overrides:
- writein class- Writer
- Throws:
- IOException
 
- 
write- Overrides:
- writein class- Writer
- Throws:
- IOException
 
- 
write- Throws:
- IOException
 
- 
append- Specified by:
- appendin interface- Appendable
- Overrides:
- appendin class- Writer
- Throws:
- IOException
 
- 
append- Specified by:
- appendin interface- Appendable
- Overrides:
- appendin class- Writer
- Throws:
- IOException
 
- 
close- 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()
- 
write- Overrides:
- writein class- Writer
- Throws:
- IOException
 
- 
flush- Specified by:
- flushin interface- Flushable
- Specified by:
- flushin class- Writer
- Throws:
- IOException
 
- 
getBuffer
 
-