The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

VLGal::File - Vincenzo's little gallery file

SYNOPSIS

None. This is an abstract class.

ABSTRACT

Vincenzo's little gallery file

DESCRIPTION

VLGal::File is an abstract class that describes generic properties of Vincenzo's little gallery file.

CONSTRUCTOR

new( [ OPT_HASH_REF ] )

Creates a new VLGal::File object. OPT_HASH_REF is a hash reference used to pass initialization options. On error an exception Error::Simple is thrown.

Options for OPT_HASH_REF may include:

basename

Passed to set_basename().

dirname

Passed to set_dirname().

super_dir

Passed to set_super_dir().

METHODS

get_basename()

Returns the file's base name.

get_dirname()

Returns the file's directory name.

get_super_dir()

Returns the super directory in the file system.

mk_fs_name()

Makes the file systemn name of the object usinf dirname and basename.

mk_vlgal_dir_name()

Makes the name of the .vlgal directory.

set_basename(VALUE)

Set the file's base name. VALUE is the value. On error an exception Error::Simple is thrown.

set_dirname(VALUE)

Set the file's directory name. VALUE is the value. On error an exception Error::Simple is thrown.

set_super_dir(VALUE)

Set the super directory in the file system. VALUE is the value. On error an exception Error::Simple is thrown.

VALUE must be a (sub)class of:
VLGal::Directory

SEE ALSO

VLGal::Directory, VLGal::File::Factory, 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