|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.ac.ulg.montefiore.run.jahmm.io.ObservationReader<O>
public abstract class ObservationReader<O extends Observation>
Reads an observation up to (and including) the semi-colon.
The syntax of each observation must follow the rules given in
ObservationSequencesReader
(e.g.
the backslash character is only used to escape a new line and can't appear
in an observation).
Constructor Summary | |
---|---|
ObservationReader()
|
Method Summary | |
---|---|
abstract O |
read(java.io.StreamTokenizer st)
Reads an Observation (followed
by a semi-colon) out of a StreamTokenizer . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ObservationReader()
Method Detail |
---|
public abstract O read(java.io.StreamTokenizer st) throws java.io.IOException, FileFormatException
Observation
(followed
by a semi-colon) out of a StreamTokenizer
.
The stream tokenizer syntax table must be set according to
of ObservationSequencesReader.initSyntaxTable(StreamTokenizer)
before the call to this method and reset to this state when it
returns.
st
- A stream tokenizer.
java.io.IOException
FileFormatException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |