Package gavo :: Package protocols :: Module products :: Class FileProduct
[frames] | no frames]

Class FileProduct

source code

 object --+    
          |    
ProductBase --+
              |
             FileProduct
Known Subclasses:

A product corresponding to a local file.

As long as the accessPath in the RAccref's productsRow corresponds to a real file and no params are in the RAccref, this will return a product.

Instance Methods
 
iterData(self) source code
 
renderHTTP(self, ctx) source code
 
close(self) source code
 
getFile(self) source code
 
read(self, size=None) source code

Inherited from ProductBase: __eq__, __init__, __ne__, __providedBy__, __provides__, __repr__, __str__

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

Class Methods
 
fromRAccref(cls, rAccref, authGroups=None) source code

Inherited from ProductBase: setupRealFile

Class Variables
  forSaving = True

Inherited from ProductBase: __implemented__, chunkSize

Properties

Inherited from object: __class__

Method Details

fromRAccref(cls, rAccref, authGroups=None)
Class Method

source code 
Overrides: ProductBase.fromRAccref

iterData(self)

source code 
Overrides: ProductBase.iterData

renderHTTP(self, ctx)

source code 
Overrides: ProductBase.renderHTTP

close(self)

source code 
Overrides: ProductBase.close

read(self, size=None)

source code 
Overrides: ProductBase.read