GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  SVK::MIMEDETECT (3)

.ds Aq ’

NAME

SVK::MimeDetect - interface for MIME type detection algorithms

CONTENTS

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.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 SVK::MIMEDETECT (3) 2008-08-05

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.