| Home | Trees | Index | Help |
|
|---|
| Package Pyblosxom :: Package entries :: Module fileentry :: Class FileEntry |
|
EntryBase --+
|
FileEntry
| Method Summary | |
|---|---|
| |
Returns a friendly debuggable representation of self. | |
| string |
Returns the data for this file entry. |
| string |
Returns the id for this content item--in this case, it's the filename. |
| varies |
This overrides the base.EntryBase getMetadata method. |
Set the time without populating the entry. | |
| Inherited from EntryBase | |
| varies |
Retrieves an item from this dict based on the key given. |
Sets the metadata[key] to the given value. | |
Over-writes the cached dict for key id with the data dict. | |
| varies |
Retrieves an item from the internal dict based on the key given. |
| dict or None |
Retrieves information from the cache that pertains to this specific id. |
| list of strings |
Returns the list of keys for which we have values in our stored metadata. |
| boolean |
Returns whether a given key is in the metadata dict. |
| list of varies |
Returns a list of the keys that can be accessed through __getitem__. |
Sets the data content for this entry. | |
Sets a key/value pair in the metadata dict. | |
This takes in a given time tuple and sets all the magic metadata variables we have according to the items in the time tuple. | |
Updates the contents in this entry with the contents in the dict. | |
| Method Details |
|---|
__init__(self,
request,
filename,
root,
datadir='')
|
__repr__(self)
|
getData(self)Returns the data for this file entry. The data is the parsed (via the entryparser) content of the entry. We do this on-demand by checking to see if we've gotten it and if we haven't then we get it at that point.
|
getId(self)Returns the id for this content item--in this case, it's the filename.
|
getMetadata(self, key, default=None)This overrides the
|
setTimeLazy(self, timetuple)Set the time without populating the entry.
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Tue Feb 7 21:43:58 2006 | http://epydoc.sf.net |