|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.pegacat.vcf.data.SurveyListParser
Parses a series of input surveys (generally e_sur, e_pop and e_c) into a collection of SurveyText objects.
You can use the StarSurveyParser and WorldSurveyParser objects to update the datalayer with these surveys.
Not even vaguely thread safe! Creation date: (29/05/2001 10:03:18 AM)
Field Summary | |
protected int |
state
current state of the parser |
protected java.util.ArrayList |
survey
current survey being accumulated |
protected java.util.Collection |
surveys
output collection of SurveyText objects |
Constructor Summary | |
SurveyListParser(java.util.Collection _surveys,
DataLayer data)
Construct a parser, no initial data. |
Method Summary | |
protected void |
clear_survey()
clear any old survey data to start on a new survey |
void |
parse(VoyagerText text)
parse a list of surveys |
protected void |
parseline(java.lang.String line)
parse a single line of a list of surveys |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected int state
protected java.util.ArrayList survey
protected java.util.Collection surveys
Constructor Detail |
public SurveyListParser(java.util.Collection _surveys, DataLayer data)
Creation date: (29/05/2001 10:04:04 AM)
text
- com.pegacat.vcf.data.VoyagerTextMethod Detail |
protected void clear_survey()
public void parse(VoyagerText text)
protected void parseline(java.lang.String line)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |