Package eu.simuline.octave
Class TestOctave.DontCloseWriter
- java.lang.Object
-
- java.io.Writer
-
- eu.simuline.octave.TestOctave.DontCloseWriter
-
- All Implemented Interfaces:
Closeable,Flushable,Appendable,AutoCloseable
- Enclosing class:
- TestOctave
private static class TestOctave.DontCloseWriter extends Writer
-
-
Constructor Summary
Constructors Modifier Constructor Description privateDontCloseWriter(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidflush()voidwrite(char[] cbuf, int off, int len)
-
-
-
Field Detail
-
name
private final String name
-
-
Constructor Detail
-
DontCloseWriter
private DontCloseWriter(String name)
-
-
Method Detail
-
flush
public void flush()
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein classWriter- Throws:
IOException
-
-