Back to index

plone3  3.1.7
Public Member Functions | Public Attributes | Private Attributes
kss.core.pluginregistry._concatresource.fileresource.File Class Reference
Inheritance diagram for kss.core.pluginregistry._concatresource.fileresource.File:
Inheritance graph

List of all members.

Public Member Functions

def __init__
def getLastMod
def getContents

Public Attributes


Private Attributes


Detailed Description

Definition at line 21 of file

Constructor & Destructor Documentation

Definition at line 24 of file

00025     def __init__(self, path, name):
00026         self.path = path
00027         self.__name__ = name

Here is the caller graph for this function:

Member Function Documentation

Reimplemented in kss.core.pluginregistry._concatresource.fileresource.Image.

Definition at line 31 of file

00032     def getContents(self):
00033         ##print "***** READ", self.path
00034         f = open(self.path, 'rb')
00035         data =
00036         f.close()
00037         content_type, enc = guess_content_type(self.path, data)
00038         return dict(data = data, content_type = content_type)

Here is the call graph for this function:

Definition at line 28 of file

00029     def getLastMod(self):
00030         return os.path.getmtime(self.path)

Member Data Documentation

Definition at line 26 of file

Definition at line 25 of file

The documentation for this class was generated from the following file: