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

type 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

Class Variables [hide private]

Inherited from localpath.LocalPath: contentTypes, mimeType

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)