Home | Trees | Index | Help |
---|
Package twisted :: Package runner :: Module inetdconf :: Class SimpleConfFile |
|
RPCServicesConf
,
ServicesConf
,
InetdConf
Simple configuration file parser superclass.
Filters out comments and empty lines (which includes lines that only contain comments).
To use this class, override parseLine or parseFields.Method Summary | |
---|---|
Override this. | |
Parse a configuration file | |
Override this. |
Class Variable Summary | |
---|---|
str |
commentChar
|
NoneType |
defaultFilename
|
Method Details |
---|
parseFields(self, *fields)Override this. |
parseFile(self, file=None)Parse a configuration file If file is None and self.defaultFilename is set, it will open defaultFilename and use it. |
parseLine(self, line)Override this. By default, this will split the line on whitespace and call self.parseFields (catching any errors). |
Class Variable Details |
---|
commentChar
|
defaultFilename
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 1.1 on Fri Jun 27 03:45:59 2003 | http://epydoc.sf.net |