Class representing a particular collection of folders. Optional constructor arguments are the pathname for the directory containing the collection, and the MH profile to use. If either is omitted or empty a default is used; the default directory is taken from the MH profile if it is specified there.
There are no base classes.
There are no implemented interfaces.
There are no attributes in this class.
deletefolder(name)
Delete a folder. This removes files in the folder but not subdirectories. Raise os.error if deleting the folder itself fails.
error(msg, *args)
Routine to print an error. May be overridden by a derived class.
getcontext()
Return the name of the current folder.
getpath()
Return the path (the name of the collection's directory).
getprofile(key)
Return a profile entry, None if not found.
listallfolders()
Return the names of all folders and subfolders, recursively.
listallsubfolders(name)
Return the names of subfolders in a given folder, recursively.
listfolders()
Return the names of the top-level folders.
listsubfolders(name)
Return the names of the subfolders in a given folder (prefixed with the given folder name).
makefolder(name)
Create a new folder (or raise os.error if it cannot be created).
openfolder(name)
Return a new Folder object for the named folder.
setcontext(context)
Set the name of the current folder.
There are no known subclasses.