Module org.apache.johnzon.core
Package org.apache.johnzon.core
Class Snippet.Buffer.SnippetWriter.Writing
- java.lang.Object
- 
- java.io.Writer
- 
- org.apache.johnzon.core.Snippet.PassthroughWriter
- 
- org.apache.johnzon.core.Snippet.Buffer.SnippetWriter.Writing
 
 
 
- 
- All Implemented Interfaces:
- java.io.Closeable,- java.io.Flushable,- java.lang.Appendable,- java.lang.AutoCloseable
 - Enclosing class:
- Snippet.Buffer.SnippetWriter
 
 class Snippet.Buffer.SnippetWriter.Writing extends Snippet.PassthroughWriter 
- 
- 
Constructor SummaryConstructors Constructor Description Writing(int max, java.io.Writer writer)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidflush()private voidmaxReached(Snippet.PassthroughWriter mode)voidwrite(char[] cbuf, int off, int len)
 
- 
- 
- 
Method Detail- 
writepublic void write(char[] cbuf, int off, int len) throws java.io.IOException- Specified by:
- writein class- java.io.Writer
- Throws:
- java.io.IOException
 
 - 
flushpublic void flush() throws java.io.IOException- Specified by:
- flushin interface- java.io.Flushable
- Overrides:
- flushin class- Snippet.PassthroughWriter
- Throws:
- java.io.IOException
 
 - 
closepublic void close() throws java.io.IOException- Specified by:
- closein interface- java.lang.AutoCloseable
- Specified by:
- closein interface- java.io.Closeable
- Overrides:
- closein class- Snippet.PassthroughWriter
- Throws:
- java.io.IOException
 
 - 
maxReachedprivate void maxReached(Snippet.PassthroughWriter mode) throws java.io.IOException - Throws:
- java.io.IOException
 
 
- 
 
-