Trees | Index | Help |
|
---|
Package handlers :: Module procTarFiles :: Class Handler |
|
object
--+ |Handler
--+ | Handler
Method Summary | |
---|---|
Initializer that uses a dictionary to configure the handler. | |
Handles the parent directory that the 'walk' has reached. | |
Save all the results if needed and release resources. | |
Handles a file contained in the parent directory. | |
Updates itself with configDict. | |
Inherited from Handler | |
Operator for layering the handlers in a stack. | |
| |
Invokes beginParentDirHook for this handler and, recursively, for each handler below this one in the stack. | |
Helper method that calculates the value used to determine if a file has been changed or is different from another file. (Static method) | |
Handles the parent directory that the 'walk' has reached. | |
Invokes endParentDirHook for this handler and, recursively, for each handler below this one in the stack. | |
Invokes finalizeHook for this handler and, recursively, for each handler below this one in the stack. | |
(Static method) | |
Handles a child directory contained in the parent directory. | |
Invokes handleChildDirHook for this handler and, recursively, for each handler below this one in the stack. | |
Invokes handleFileHook for this handler and, recursively, for each handler below this one in the stack. | |
Helper method to get the value used to determine if a file has been changed or is different from another file. | |
Sets the top directory in the handler. | |
Takes care of initialization that is needed for every tree. | |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Instance Method Details |
---|
__init__(self,
configDict=None)
Initializer that uses a dictionary to configure the handler.
|
beginParentDirHook(self, dirName, subdirNames=None, fileNames=None)Handles the parent directory that the 'walk' has reached. It is invoked BEFORE handling the directories and files that the parent directory contains. It can modify the subdirNames and fileNames lists, thus affecting the traversal of the tree. It is a feature useful for comparing the traversed tree to other trees.
|
finalizeHook(self)Save all the results if needed and release resources.
|
handleFileHook(self, fileName)Handles a file contained in the parent directory.
|
setConfig(self, configDict)Updates itself with configDict.
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Wed Dec 22 15:47:44 2004 | http://epydoc.sf.net |