An attachment store based on the file system.
The locations are the names of files in the file system.
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.
|
|