def __init__(self, uri=None, children=None, principalCollections=()):
     """
     @param uri: A string respresenting the URI of the given resource
     @param children: a dictionary of names to Resources
     """
     DAVResource.__init__(self, principalCollections=principalCollections)
     self.children = children
     self.uri = uri
 def __init__(self, uri=None, children=None, principalCollections=()):
     """
     @param uri: A string respresenting the URI of the given resource
     @param children: a dictionary of names to Resources
     """
     DAVResource.__init__(self, principalCollections=principalCollections)
     self.children = children
     self.uri = uri
 def __init__(
     self, path,
     defaultType="text/plain", indexNames=None,
     principalCollections=()
 ):
     """
     @param path: the path of the file backing this resource.
     @param defaultType: the default mime type (as a string) for this
         resource and (eg. child) resources derived from it.
     @param indexNames: a sequence of index file names.
     @param acl: an L{IDAVAccessControlList} with the .
     """
     File.__init__(
         self, path,
         defaultType = defaultType,
         ignoredExts = (),
         processors = None,
         indexNames = indexNames,
     )
     DAVResource.__init__(self, principalCollections=principalCollections)
Exemple #4
0
 def __init__(
     self, path,
     defaultType="text/plain", indexNames=None,
     principalCollections=()
 ):
     """
     @param path: the path of the file backing this resource.
     @param defaultType: the default mime type (as a string) for this
         resource and (eg. child) resources derived from it.
     @param indexNames: a sequence of index file names.
     @param acl: an L{IDAVAccessControlList} with the .
     """
     File.__init__(
         self, path,
         defaultType=defaultType,
         ignoredExts=(),
         processors=None,
         indexNames=indexNames,
     )
     DAVResource.__init__(self, principalCollections=principalCollections)