Rechercher une page de manuel
Email::MIME::CreateHTML::Resolver::Filesystem.3pm
Langue: en
Version: 2006-10-26 (ubuntu - 08/07/09)
Section: 3 (Bibliothèques de fonctions)
NAME
Email::MIME::CreateHTML::Resolver::Filesystem - finds resources via the filesystemSYNOPSIS
my $o = new Email::MIME::CreateHTML::Resolver::Filesystem(\%args) my ($content,$filename,$mimetype,$xfer_encoding) = $o->get_resource($uri)
DESCRIPTION
This is used by Email::MIME::CreateHTML to load resources.METHODS
- $o = new Email::MIME::CreateHTML::Resolver::Filesystem(\%args)
- %args can contain:
-
- base
- Base directory used to resolve relative filepaths passed to get_resource.
-
- ($content,$filename,$mimetype,$xfer_encoding) = $o->get_resource($uri)
TODO
- Currently the MIME type is deduced from the file extension via MIME::Types; given we have the content available, more sophisticated strategies are probably possible
VERSION
$Revision: 1.6 $ on $Date: 2006/08/24 21:41:38 $ by $Author: johna $AUTHOR
Tony Hennessy, Simon Flack and John AldenCOPYRIGHT
(c) BBC 2005,2006. This program is free software; you can redistribute it and/or modify it under the GNU GPL.See the file COPYING in this distribution, or http://www.gnu.org/licenses/gpl.txt
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre