Gnome2::VFS::Mime.3pm

Langue: en

Version: 2010-05-12 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

Gnome2::VFS::Mime

METHODS

boolean = Gnome2::VFS::Mime->id_in_application_list ($id, ...)

*
$id (string)
*
... (list) of GnomeVFSMimeApplication's

list = Gnome2::VFS::Mime->id_list_from_application_list (...)

*
... (list) of GnomeVFSMimeApplication's

Returns a list of application id's.

string = Gnome2::VFS->get_mime_type_for_data ($data)

*
$data (scalar)

string = Gnome2::VFS->get_mime_type_for_name_and_data ($filename, $data)

*
$filename (string)
*
$data (scalar)

Since: vfs 2.14

string = Gnome2::VFS->get_mime_type_for_name ($filename)

*
$filename (string)

Since: vfs 2.14

string = Gnome2::VFS->get_mime_type ($text_uri)

*
$text_uri (string)

list = Gnome2::VFS::Mime->remove_application_from_list ($application_id, ...)

*
$application_id (string)
*
... (list) of GnomeVFSMimeApplication's

Returns a boolean indicating whether anything was removed and the resulting list of GnomeVFSMimeApplication's.

string = Gnome2::VFS->get_slow_mime_type ($text_uri)

*
$text_uri (string)

Since: vfs 2.14

SEE ALSO

Gnome2::VFS Copyright (C) 2003-2007 by the gtk2-perl team.

This software is licensed under the LGPL. See Gnome2::VFS for a full notice.