Package eu.simuline.octave.exec
Class WriterReadFunctor
- java.lang.Object
-
- eu.simuline.octave.exec.WriterReadFunctor
-
- All Implemented Interfaces:
ReadFunctor
public final class WriterReadFunctor extends Object implements ReadFunctor
Reads all from the reader and writes it to the writer.
-
-
Constructor Summary
Constructors Constructor Description WriterReadFunctor(Writer writer)
-
-
-
Field Detail
-
writer
private final Writer writer
-
-
Constructor Detail
-
WriterReadFunctor
public WriterReadFunctor(Writer writer)
- Parameters:
writer
-
-
-
Method Detail
-
doReads
public void doReads(Reader reader) throws IOException
Description copied from interface:ReadFunctor
Read the output from an eval().- Specified by:
doReads
in interfaceReadFunctor
- Parameters:
reader
-- Throws:
IOException
- if any.
-
-