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 anOctaveFunctionHandleto 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.voidwrite(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:OctaveDataWriterCould be OctaveScalar or OctaveMatrix.- Specified by:
javaTypein classOctaveDataWriter<OctaveFunctionHandle>- Returns:
- the
Classof theOctaveObjectthat this IO handler loads and saves
-
write
public void write(Writer writer, OctaveFunctionHandle octaveType) throws IOException
- Specified by:
writein classOctaveDataWriter<OctaveFunctionHandle>- Parameters:
writer- the Writer to write tooctaveType- the value to write- Throws:
IOException
-
-