Table of Contents

Class: FileAttachmentStore qm/attachment.py

An attachment store based on the file system.

The locations are the names of files in the file system.

Base Classes   
AttachmentStore
    object
Methods   
GetData
GetDataFile
GetSize
Remove
Store
__init__
  GetData 
GetData ( self,  location )

  GetDataFile 
GetDataFile ( self,  location )

  GetSize 
GetSize ( self,  location )

  Remove 
Remove ( self,  location )

Remove an attachment.

location
The location whose data should be removed.
  Store 
Store (
        self,
        attachment,
        location,
        )

  __init__ 
__init__ ( self,  root=None )

Construct a new FileAttachmentStore

root
If not None, the root directory for the store. All locations are relative to this directory. If None, all locations are relative to the current directory.

Table of Contents

This document was automatically generated on Mon Jan 3 09:42:29 2005 by HappyDoc version 2.1