Package flumotion :: Package component :: Package misc :: Package httpserver :: Module localprovider :: Class LocalPath
[hide private]

Class LocalPath

source code

           object --+        
                    |        
fileprovider.FilePath --+    
                        |    
      localpath.LocalPath --+
                            |
                           LocalPath

Instance Methods [hide private]
AsyncFile | defer.Deferred
open(self)
Returns: the pointed file opened as an asynchronous file or a deferred that will be called back with one.
source code

Inherited from localpath.LocalPath: __init__, __str__, child

Inherited from localpath.LocalPath (private): _getChildPath

Inherited from fileprovider.FilePath: getMimeType

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Class Variables [hide private]

Inherited from localpath.LocalPath: contentTypes, mimeType

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

open(self)

source code 
Returns: AsyncFile | defer.Deferred
the pointed file opened as an asynchronous file or a deferred that will be called back with one.
Raises:
  • NotFoundError - if the file does not exists anymore
  • AccessError - if the file cannot be opened because of right restriction
Overrides: fileprovider.FilePath.open
(inherited documentation)