Definition at line 53 of file fileutil.py.
◆ __init__()
def python.fileutil.AccessType.__init__ |
( |
|
self, |
|
|
|
name, |
|
|
|
matchPattern, |
|
|
|
replaceWith, |
|
|
|
baseModule, |
|
|
|
pathModule |
|
) |
| |
Definition at line 54 of file fileutil.py.
54 def __init__(self, name, matchPattern, replaceWith, baseModule, pathModule):
56 self.matchPat = matchPattern
57 self.replacePat = replaceWith
58 self.baseModule = baseModule
59 self.pathModule = pathModule
◆ cleanUp()
def python.fileutil.AccessType.cleanUp |
( |
|
self, |
|
|
|
filename |
|
) |
| |
Definition at line 66 of file fileutil.py.
66 def cleanUp(self,filename):
67 return re.sub( self.matchPat, self.replacePat, filename )
◆ matches()
def python.fileutil.AccessType.matches |
( |
|
self, |
|
|
|
filename |
|
) |
| |
Definition at line 62 of file fileutil.py.
62 def matches(self,filename):
63 return re.search( self.matchPat, filename )
is not None
◆ baseModule
python.fileutil.AccessType.baseModule |
◆ matchPat
python.fileutil.AccessType.matchPat |
◆ name
python.fileutil.AccessType.name |
◆ pathModule
python.fileutil.AccessType.pathModule |
◆ replacePat
python.fileutil.AccessType.replacePat |
The documentation for this class was generated from the following file: