Package org.apache.johnzon.core
Class Snippet.PassthroughWriter
- java.lang.Object
- 
- java.io.Writer
- 
- org.apache.johnzon.core.Snippet.PassthroughWriter
 
 
- 
- All Implemented Interfaces:
- Closeable,- Flushable,- Appendable,- AutoCloseable
 - Direct Known Subclasses:
- Snippet.Buffer.SnippetWriter,- Snippet.Buffer.SnippetWriter.Completed,- Snippet.Buffer.SnippetWriter.Truncated,- Snippet.Buffer.SnippetWriter.Writing
 - Enclosing class:
- Snippet
 
 private abstract static class Snippet.PassthroughWriter extends Writer 
- 
- 
Constructor SummaryConstructors Modifier Constructor Description privatePassthroughWriter()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Writerappend(char c)Writerappend(CharSequence csq)Writerappend(CharSequence csq, int start, int end)voidclose()voidflush()voidwrite(char[] cbuf)voidwrite(String str)voidwrite(String str, int off, int len)- 
Methods inherited from class java.io.WriternullWriter, write, write
 
- 
 
- 
- 
- 
Method Detail- 
writepublic void write(char[] cbuf) throws IOException- Overrides:
- writein class- Writer
- Throws:
- IOException
 
 - 
writepublic void write(String str) throws IOException - Overrides:
- writein class- Writer
- Throws:
- IOException
 
 - 
writepublic void write(String str, int off, int len) throws IOException - Overrides:
- writein class- Writer
- Throws:
- IOException
 
 - 
appendpublic Writer append(CharSequence csq) throws IOException - Specified by:
- appendin interface- Appendable
- Overrides:
- appendin class- Writer
- Throws:
- IOException
 
 - 
appendpublic Writer append(CharSequence csq, int start, int end) throws IOException - Specified by:
- appendin interface- Appendable
- Overrides:
- appendin class- Writer
- Throws:
- IOException
 
 - 
appendpublic Writer append(char c) throws IOException - Specified by:
- appendin interface- Appendable
- Overrides:
- appendin class- Writer
- Throws:
- IOException
 
 - 
flushpublic void flush() throws IOException- Specified by:
- flushin interface- Flushable
- Specified by:
- flushin 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
 
 
- 
 
-