Class TextFilePopulator
BasePopulator --+
|
TextFilePopulator
Concrete implementaiton of BasePopulator. Iterates through objects,
calculates annotations and outputs them to a file as a tab-delimited set
of values.
First line of the file will be tab-delimited header line with the
column names that the data would be inserted under.
Doesn't handle multi-line text values well yet.
First thing executed at beginning of run method. Default to extracting
the list of data and ID column names.
- Overrides:
BasePopulator.setUp
- (inherited documentation)
|
populate(self,
input,
annotations,
idAnnotations)
|
|
Primary method. Writes out the annotations as a tab-delimited line to
the outfile.
- Overrides:
BasePopulator.populate
|