NAME
File::ArchivableFormats::Plugin - Role which implements logic for all plugins
VERSION
version 1.8
ATTRIBUTES
preferred_formats
The list of preferred formats. Implements F <is_archivable> and F <get_info>
name
The (short) name of the plugin
METHODS
_build_preferred_formats
Consumers of this role must implement this function to build the preferred_formats
attribute.
allowed_extensions
Tells you if an extension is allowed, Returns an HashRef with data.
{
types => [
# Tells you something about the filetype
],
allowed_extensions => [
# Tells you which extensions are allowed for the mimetype in
# the preferred formats list
],
}
AUTHOR
Wesley Schwengle <wesley@mintlab.nl>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2017 by Mintlab BV.
This is free software, licensed under:
The European Union Public License (EUPL) v1.1