tit.observation.io.ObservationTITReader Class Reference

Inheritance diagram for tit.observation.io.ObservationTITReader:

tit.observation.io.ObservationReader List of all members.

Public Member Functions

 ObservationTITReader (LineNumberReader input) throws IOException
Observable getObservation ()
Personality getPersonality ()

Private Member Functions

String stringFollowingOn (String string, String prefix)

Private Attributes

AdjustablePersonality personality = new PersonalityRecord()
ObservationRecord observation

Detailed Description

Reads an observation from a tit-file.
Author:
Bart Sas


Constructor & Destructor Documentation

tit.observation.io.ObservationTITReader.ObservationTITReader ( LineNumberReader  input  )  throws IOException

Constructs a new which reads its input from input.

Parameters:
input The LineNumberReader from which the input is read.
Exceptions:
IOException is thrown when the reading fails.


Member Function Documentation

String tit.observation.io.ObservationTITReader.stringFollowingOn ( String  string,
String  prefix 
) [private]

Returns the substring of string following on prefix if string starts with prefix or null otherwise.

Parameters:
string The string.
prefix The prefix.
Returns:
The substring of string following on prefix if string starts with prefix or null otherwise.

Observable tit.observation.io.ObservationTITReader.getObservation (  ) 

Returns the read Observation.

Returns:
The read Observation.

Implements tit.observation.io.ObservationReader.

Personality tit.observation.io.ObservationTITReader.getPersonality (  ) 

Returns the read Personality.

Returns:
The read Personality.

Implements tit.observation.io.ObservationReader.


Member Data Documentation

AdjustablePersonality tit.observation.io.ObservationTITReader.personality = new PersonalityRecord() [private]

The the read personality data.

ObservationRecord tit.observation.io.ObservationTITReader.observation [private]

The the read observation data.


The documentation for this class was generated from the following file:
Generated on Sun Jun 3 16:44:01 2007 by  doxygen 1.5.1