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 private
DontCloseWriter(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
flush()
void
write(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:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in classWriter
- Throws:
IOException
-
-