requalify
Requalifies this object into the given mimetype.
class_for_mime
Returns the File subclass that goes well with the given mimetype. This is a Class method.
You can also give a file name to make the diagnostic easier in case no class is found.
Usage:
my
$class
= App::CSE::File->class_for_mime(
'application/x-perl'
);
my
$class
= App::CSE::File->class_for_mime(
'application/x-perl'
,
'the/file/name.something'
);
NAME
App::CSE::File - A general file
METHODS
effective_object
Effective Object. Some classes can choose to return something different.