Package net.n2oapp.framework.mvc.api
Class CachingPrintWriter
- java.lang.Object
-
- java.io.Writer
-
- net.n2oapp.framework.mvc.api.CachingPrintWriter
-
- All Implemented Interfaces:
Closeable,Flushable,Appendable,AutoCloseable
public class CachingPrintWriter extends Writer
- Since:
- 17.12.2015
- Author:
- iryabov
-
-
Constructor Summary
Constructors Constructor Description CachingPrintWriter(Writer origin)
-
-
-
Constructor Detail
-
CachingPrintWriter
public CachingPrintWriter(Writer origin)
-
-
Method Detail
-
write
public void write(char[] cbuf, int off, int len) throws IOException- Specified by:
writein classWriter- Throws:
IOException
-
flush
public void flush() throws IOException- Specified by:
flushin interfaceFlushable- Specified by:
flushin classWriter- Throws:
IOException
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein classWriter- Throws:
IOException
-
getCache
public String getCache()
-
-