Vincenzo Zocca > VLGal-Directory > VLGal::File::Factory

Download:
VLGal-Directory-0.01.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.01   Source  

NAME ^

VLGal::File::Factory - Vincenzo's little gallery file factory

SYNOPSIS ^

TODO

ABSTRACT ^

Vincenzo's little gallery file factory

DESCRIPTION ^

VLGal::File::Factory is a factory class to create VLGal::File objects.

CONSTRUCTOR ^

new()

Creates a new VLGal::File::Factory object.

METHODS ^

create_file(OPT_HASH_REF)

Creates a VLGal::File object based on the type of the file -put together fith options dirname and basename. OPT_HASH_REF is a hash reference used to pass initialization options for the VLGal::File object. On error an exception Error::Simple is thrown.

instance( [ CONSTR_OPT ] )

Always returns the same VLGal::File::Factory -singleton- object instance. The first time it is called, parameters CONSTR_OPT -if specified- are passed to the constructor.

SEE ALSO ^

VLGal::Directory, VLGal::File, VLGal::File::MMagic, VLGal::Size, VLGal::Style

BUGS ^

None known (yet.)

HISTORY ^

First development: September 2003 Last update: October 2003

AUTHOR ^

Vincenzo Zocca

COPYRIGHT ^

Copyright 2003 by Vincenzo Zocca

LICENSE ^

This file is part of the VLGal module hierarchy for Perl by Vincenzo Zocca.

The VLGal module hierarchy is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

The VLGal module hierarchy is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with the VLGal module hierarchy; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA