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:
Closeable,Flushable,Appendable,AutoCloseable
- Enclosing class:
- Snippet.Buffer.SnippetWriter
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.johnzon.core.Snippet.PassthroughWriter
append, append, append, write, write, writeMethods inherited from class java.io.Writer
nullWriter, write
-
Field Details
-
max
private final int max -
count
private int count -
writer
-
-
Constructor Details
-
Writing
-
-
Method Details
-
write
- Specified by:
writein classWriter- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classSnippet.PassthroughWriter- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classSnippet.PassthroughWriter- Throws:
IOException
-
maxReached
- Throws:
IOException
-