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.
$mgr->getTypeFor($cxt, $realpath)
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