Combo / lib / Type

[..] [files]

This directory contains ``type handlers'' -- Perl modules that handle files and directories containing various types of data. Each module contains the methods for viewing, editing, and processing and describing a type of content. The set is, of course, extensible: any module with a name of the form Type::* can be created corresponding to a set of file extensions.

Note that the mapping from extensions to handlers is not one-to-one, or even particularly well-defined. In particular, things like directories and configuration (property) files can have multiple types; for example, a user's home directory is treated very specially. It's up to the site's resource manager (Site::Resource or a subclass) to sort this kind of thing out.

Currently this code is not used; refactoring is in progress.

Annotated Contents

Files

Manager.pm
This is the class that actually maps paths onto types, using $mgr->getTypeFor($cxt, $realpath)

Copyright © PenguinSong.org
$Id: HEADER.html,v 1.2 2003/05/09 19:32:14 steve Exp $
      Name                    Last modified      Size  Description
Parent Directory - Base.pm 2014-12-16 16:16 9.3K ConfigFile.pm 2014-12-16 16:16 6.4K Dir.pm 2014-12-16 16:16 6.0K Html.pm 2014-12-16 16:16 3.7K Manager.pm 2014-12-16 16:16 3.6K ProcHT.pm 2014-12-16 16:16 3.7K Text.pm 2014-12-16 16:16 4.3K