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