com.pegacat.vcf.data
Class WorldSurveyParser

java.lang.Object
  |
  +--com.pegacat.vcf.data.WorldSurveyParser

public class WorldSurveyParser
extends java.lang.Object

Parses world surveys into actual world/moon information.

This also updates partial body information where possible. Creation date: (30/05/2001 4:43:44 PM)


Field Summary
protected  int state
          stat of parsing - one of the ST_* constants
 
Constructor Summary
WorldSurveyParser(DataLayer data)
          construct a parser - no parsing done until parse() called.
 
Method Summary
 void parse(SurveyText text)
          parse a survey - parses each line of the survey, and then updates the datalayer, merging survey data with any existing data.
 void parseline(java.lang.String line)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

state

protected int state
stat of parsing - one of the ST_* constants
Constructor Detail

WorldSurveyParser

public WorldSurveyParser(DataLayer data)
construct a parser - no parsing done until parse() called.
Method Detail

parse

public void parse(SurveyText text)
parse a survey - parses each line of the survey, and then updates the datalayer, merging survey data with any existing data.

parseline

public void parseline(java.lang.String line)