Home | Trees | Indices | Help |
---|
|
object --+ | AttachmentStore --+ | FileAttachmentStore
An attachment store based on the file system.
The locations are the names of files in the file system.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
Inherited from |
|
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.
|
Return the data for an attachment. returns -- A string containing the attachment data.
|
Return the path to a file containing the data for 'attachment'. returns -- A file system path. The file is read-only, and may be a temporary file. The caller should not modify the file in any way.
|
Return the size of the data for an attachment. returns -- The length of the attachment data, in bytes. This method may be overridden by derived classes.
|
Add an attachment to the store. 'attachment' -- The 'Attachment' to store. 'location' -- The location in which to store the 'attachment'.
|
Remove an attachment. 'location' -- The location whose data should be removed. |
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Dec 23 12:30:40 2011 | http://epydoc.sourceforge.net |