Package lastfm :: Module filecache :: Class FileCache

[hide private]
[frames] | no frames]

# Class FileCache

source code

    object --+
             |
            FileCache

Instance Methods | [hide private]

__init__(self, root_directory=None) x.__init__(...) initializes x; see x.__class__.__doc__ for signature | source code

Get(self, key) | source code

Set(self, key, data) | source code

Remove(self, key) | source code

GetCachedTime(self, key) | source code

_GetUsername(self) Attempt to find the username in a cross-platform fashion. | source code

_GetTmpCachePath(self) | source code

_InitializeRootDirectory(self, root_directory) | source code

_GetPath(self, key) | source code

_GetPrefix(self, hashed_key) | source code

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

Class Variables | [hide private]

| DEPTH = `3`

Properties | [hide private]

Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self, root_directory=None)
(Constructor)

source code

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
  (inherited documentation)