Package eu.simuline.octave.io.impl
Class FunctionHandleWriter
- java.lang.Object
-
- eu.simuline.octave.io.spi.OctaveDataWriter<OctaveFunctionHandle>
-
- eu.simuline.octave.io.impl.FunctionHandleWriter
-
public final class FunctionHandleWriter extends OctaveDataWriter<OctaveFunctionHandle>
The writer for the octave type "function handle" writing anOctaveFunctionHandle
to aWriter
.
-
-
Constructor Summary
Constructors Constructor Description FunctionHandleWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<OctaveFunctionHandle>
javaType()
Could be OctaveScalar or OctaveMatrix.void
write(Writer writer, OctaveFunctionHandle octaveType)
-
Methods inherited from class eu.simuline.octave.io.spi.OctaveDataWriter
getOctaveDataWriter
-
-
-
-
Method Detail
-
javaType
public Class<OctaveFunctionHandle> javaType()
Description copied from class:OctaveDataWriter
Could be OctaveScalar or OctaveMatrix.- Specified by:
javaType
in classOctaveDataWriter<OctaveFunctionHandle>
- Returns:
- the
Class
of theOctaveObject
that this IO handler loads and saves
-
write
public void write(Writer writer, OctaveFunctionHandle octaveType) throws IOException
- Specified by:
write
in classOctaveDataWriter<OctaveFunctionHandle>
- Parameters:
writer
- the Writer to write tooctaveType
- the value to write- Throws:
IOException
-
-