NAME

StaticVolt::Convertor - Base class for StaticVolt convertors

VERSION

version 0.02

METHODS

has_convertor

Accepts a filename extension and returns a boolean result which indicates whether the particular extension has a registered convertor or not.

convert

Accepts content and filename extension as the parametres. Returns HTML after converting the content using the convertor registered for that extension.

FUNCTIONS

register

Accepts a list of filename extensions and registers a convertor for each extension.

AUTHOR

Alan Haggai Alavi <alanhaggai@alanhaggai.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2011 by Alan Haggai Alavi.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)