Rechercher une page de manuel
SVK::MimeDetect.3pm
Langue: en
Version: 2008-08-05 (ubuntu - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
NAME
SVK::MimeDetect - interface for MIME type detection algorithmsDESCRIPTION
This defines an interface for MIME type detection algorithms. A MIME type detection module doesn't need to inherit from this module, but it does need to provide the same interface. See ``INTERFACE'' for details.INTERFACE
new
"new" should return a new object which implements the ``checktype_filename'' method described below. The default implementation simply returns an empty, blessed hash.checktype_filename
Given a single, absolute filename as an argument, this method should return a scalar with the MIME type of the file or "undef" if there is an error.Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre