Package gavo :: Package helpers :: Module processing :: Class PreviewMaker
[frames] | no frames]

Class PreviewMaker

source code

   object --+    
            |    
FileProcessor --+
                |
               PreviewMaker

A file processor for generating previews.

For these, define a method getPreviewData(accref) -> string returning the raw preview data.

Instance Methods
 
iterIdentifiers(self)
iterates over the accrefs in the first table of dd.
source code
 
getPreviewPath(self, accref) source code
 
classify(self, path) source code
 
process(self, accref) source code

Inherited from FileProcessor: __init__, addClassification, getProductKey, iterJobs, printReport, printTableSize, printVerboseReport, processAll

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

Static Methods
 
addOptions(optParser) source code
Class Variables

Inherited from FileProcessor: inputsDir

Properties

Inherited from object: __class__

Method Details

addOptions(optParser)
Static Method

source code 
Overrides: FileProcessor.addOptions

iterIdentifiers(self)

source code 

iterates over the accrefs in the first table of dd.

Overrides: FileProcessor.iterIdentifiers

classify(self, path)

source code 
Overrides: FileProcessor.classify

process(self, accref)

source code 
Overrides: FileProcessor.process