Package cjklib :: Module build :: Class EDICTFormatBuilder :: Class TableGenerator
[hide private]
[frames] | no frames]

Class TableGenerator

source code

Generates the dictionary entries.

Instance Methods [hide private]
 
__init__(self, fileHandle, quiet=False, entryRegex=None, columns=None, filterFunc=None)
Initialises the TableGenerator.
source code
 
generator(self)
Provides the dictionary entries.
source code
Method Details [hide private]

__init__(self, fileHandle, quiet=False, entryRegex=None, columns=None, filterFunc=None)
(Constructor)

source code 

Initialises the TableGenerator.

Parameters:
  • fileHandle (file) - handle of file to read from
  • quiet (bool) - if true no status information will be printed
  • entryRegex (instance) - regular expression object for entry pattern
  • columns (list of str) - column names of generated data
  • filterFunc (function) - function used to filter entry content