Package eu.simuline.octave.io.impl
Class CellWriter
- java.lang.Object
-
- eu.simuline.octave.io.spi.OctaveDataWriter<OctaveCell>
-
- eu.simuline.octave.io.impl.CellWriter
-
public final class CellWriter extends OctaveDataWriter<OctaveCell>
The writer for the octave type "cell" writing anOctaveCellto aWriter.
-
-
Constructor Summary
Constructors Constructor Description CellWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<OctaveCell>javaType()Could be OctaveScalar or OctaveMatrix.voidwrite(Writer writer, OctaveCell octaveCell)-
Methods inherited from class eu.simuline.octave.io.spi.OctaveDataWriter
getOctaveDataWriter
-
-
-
-
Field Detail
-
TYPE_CELL
static final String TYPE_CELL
- See Also:
- Constant Field Values
-
NROWS
static final String NROWS
- See Also:
- Constant Field Values
-
NCOLUMNS
static final String NCOLUMNS
- See Also:
- Constant Field Values
-
-
Method Detail
-
javaType
public Class<OctaveCell> javaType()
Description copied from class:OctaveDataWriterCould be OctaveScalar or OctaveMatrix.- Specified by:
javaTypein classOctaveDataWriter<OctaveCell>- Returns:
- the
Classof theOctaveObjectthat this IO handler loads and saves
-
write
public void write(Writer writer, OctaveCell octaveCell) throws IOException
- Specified by:
writein classOctaveDataWriter<OctaveCell>- Parameters:
writer- the Writer to write tooctaveCell- the value to write- Throws:
IOException
-
-