Class RoutablePrintWriter.NullWriter
- java.lang.Object
-
- java.io.Writer
-
- com.opensymphony.module.sitemesh.filter.RoutablePrintWriter.NullWriter
-
- All Implemented Interfaces:
Closeable,Flushable,Appendable,AutoCloseable
- Enclosing class:
- RoutablePrintWriter
private static class RoutablePrintWriter.NullWriter extends Writer
Just to keep super constructor for PrintWriter happy - it's never actually used.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedNullWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidflush()voidwrite(char[] cbuf, int off, int len)
-
-
-
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
-
-