ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages

 

This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles.

For more information about the manual page format, see the manual page for manpages(5).



SVK::MimeDetect(3)                   User Contributed Perl Documentation                  SVK::MimeDetect(3)



NAME
       SVK::MimeDetect - interface for MIME type detection algorithms

DESCRIPTION
       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.



perl v5.8.8                                      2006-12-28                               SVK::MimeDetect(3)

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.