| Home | Trees | Index | Help |
|
|---|
| Package twisted :: Package runner :: Module inetdconf :: Class SimpleConfFile |
|
InetdConf,
RPCServicesConf,
ServicesConfSimple 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 = None |
| 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 2.0 on Sat May 15 20:07:45 2004 | http://epydoc.sf.net |