Package eu.simuline.octave.io.impl
Class OctaveSqStringReader
- java.lang.Object
-
- eu.simuline.octave.io.spi.OctaveDataReader
-
- eu.simuline.octave.io.impl.AbstractOctaveStringReader
-
- eu.simuline.octave.io.impl.OctaveSqStringReader
-
public final class OctaveSqStringReader extends AbstractOctaveStringReader
The name isOctaveSqStringReader
instead ofStringSqReader
to be consistent withOctaveStringReader
. The reader for the octave type "sq_string" reading anOctaveString
from aBufferedReader
.
-
-
Constructor Summary
Constructors Constructor Description OctaveSqStringReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
octaveType()
Could be "scalar" or "string" or something else.OctaveString
read(BufferedReader reader)
Reads anOctaveObject
from a Readerreader
.-
Methods inherited from class eu.simuline.octave.io.impl.AbstractOctaveStringReader
readImpl
-
Methods inherited from class eu.simuline.octave.io.spi.OctaveDataReader
getOctaveDataReader
-
-
-
-
Method Detail
-
octaveType
public String octaveType()
Description copied from class:OctaveDataReader
Could be "scalar" or "string" or something else.- Specified by:
octaveType
in classOctaveDataReader
- Returns:
- the string representation of the octave type
read by this
OctaveDataReader
-
read
public OctaveString read(BufferedReader reader)
Description copied from class:OctaveDataReader
Reads anOctaveObject
from a Readerreader
.- Specified by:
read
in classOctaveDataReader
- Parameters:
reader
- the Reader to read from, will not close reader- Returns:
- the object read from
reader
.
-
-