Alan Haggai Alavi > StaticVolt > StaticVolt::Convertor

Download:
StaticVolt-1.00.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 1.00   Source  

NAME ^

StaticVolt::Convertor - Base class for StaticVolt convertors

VERSION ^

version 1.00

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 <haggai@cpan.org>

COPYRIGHT AND LICENSE ^

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

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)
syntax highlighting: