---
name: "Gnome2::VFS::Mime"
section: "3pm"
platform: "linux"
package: "libgnome2-vfs-perl"
version: "1.082-1+b3"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/Gnome2::VFS::Mime"
---

# Gnome2::VFS::Mime(3pm)

functions for getting information about applications and components associated with MIME types

## NAME

Gnome2::VFS::Mime - functions for getting information about applications and components associated with MIME types

## 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

Copyright (C) 2003-2007, 2013 by the gtk2-perl team.

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