Table of Contents

Module: resources ./src/peak/web/resources.py
Imported modules   
from errors import UnsupportedMethod, NotFound, NotAllowed
from interfaces import *
import os.path
from peak.api import *
from peak.naming.factories.openable import FileURL
from peak.util.imports import importString
from places import Traversable
import posixpath
from publish import TraversalPath
import sys
from templates import DOMletAsWebPage, TemplateDocument
Functions   
bindResource
filenameAsProperty
findPackage
parseFileResource
  bindResource 
bindResource (
        path,
        pkg=None,
        **kw,
        )

Attribute binding to look up a resource

  filenameAsProperty 
filenameAsProperty ( name )

Convert a filename (base, no path) into a usable property name

  findPackage 
findPackage ( pkg )

Find containing package (module w/__path__) for module named pkg

  parseFileResource 
parseFileResource (
        parser,
        section,
        name,
        value,
        lineInfo,
        )

Handle a line from a [Files *.foo] section

Classes   

DefaultLayer

FSResource

FileResource

ImageResource

Resource

ResourceDirectory

ResourceProxy

TemplateResource

Template used as a method (via bindResource())


Table of Contents

This document was automatically generated on Tue Feb 17 19:55:56 2004 by HappyDoc version 2.1