NAME

StaticVolt::Convertor - Base class for StaticVolt convertors

VERSION

version 0.01

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; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.