Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Gnome2::VFS::URI(3)   User Contributed Perl Documentation  Gnome2::VFS::URI(3)

NAME
       Gnome2::VFS::URI	- wrapper for GnomeVFSURI

HIERARCHY
	 Glib::Boxed
	 +----Gnome2::VFS::URI

METHODS
   uri = Gnome2::VFS::URI->new ($text_uri)
       o   $text_uri (string)

   uri = $base->append_file_name ($filename)
       o   $filename (string)

   uri = $base->append_path ($path)
       o   $path (string)

   uri = $base->append_string ($uri_fragment)
       o   $uri_fragment (string)

   list	= $source_uri->check_same_fs ($target_uri)
       o   $target_uri (Gnome2::VFS::URI)

       Returns a GnomeVFSResult	and a boolean.

   list	= $uri->create ($open_mode, $exclusive,	$perm)
       o   $open_mode (Gnome2::VFS::OpenMode)

       o   $exclusive (boolean)

       o   $perm (integer)

       Returns a GnomeVFSResult	and a GnomeVFSHandle.

   boolean = $a->equal ($b)
       o   $b (Gnome2::VFS::URI)

   boolean = $uri->exists
   string = $uri->extract_dirname
   string = $uri->extract_short_name
   string = $uri->extract_short_path_name
   list	= $uri->get_file_info ($options)
       o   $options (Gnome2::VFS::FileInfoOptions)

       Returns a GnomeVFSResult	and a GnomeVFSFileInfo.

   result = $uri->set_file_info	($info,	$mask)
       o   $info (Gnome2::VFS::FileInfo)

       o   $mask (Gnome2::VFS::SetFileInfoMask)

   string = $uri->get_fragment_identifier
   boolean = $uri->has_parent
   string = $uri->get_host_name
   $uri->set_host_name ($host_name)
       o   $host_name (string)

   integer = $uri->get_host_port
   $uri->set_host_port ($host_port)
       o   $host_port (integer)

   boolean = $uri->is_local
   boolean = $possible_parent->is_parent ($possible_child, $recursive)
       o   $possible_child (Gnome2::VFS::URI)

       o   $recursive (boolean)

   list	= Gnome2::VFS::URI->list_parse ($uri_list)
       o   $uri_list (string)

       Returns a list of GnomeVFSURI's.

   result = $uri->make_directory ($perm)
       o   $perm (integer)

   string = Gnome2::VFS::URI->make_full_from_relative ($base_uri,
       $relative_uri)
       o   $base_uri (string)

       o   $relative_uri (string)

   result = $old_uri->move ($new_uri, $force_replace)
       o   $new_uri (Gnome2::VFS::URI)

       o   $force_replace (boolean)

   list	= $uri->open ($open_mode)
       o   $open_mode (Gnome2::VFS::OpenMode)

       Returns a GnomeVFSResult	and a GnomeVFSHandle.

   uri = $uri->get_parent
   string = $uri->get_password
   $uri->set_password ($password)
       o   $password (string)

   string = $uri->get_path
   result = $uri->remove_directory
   uri = $base->resolve_relative ($relative_reference)
       o   $relative_reference (string)

   uri = $base->resolve_symbolic_link ($symbolic_link)
       o   $symbolic_link (string)

       Since: vfs 2.16

   string = $uri->get_scheme
   string = $uri->to_string ($hide_options=GNOME_VFS_URI_HIDE_NONE)
       o   $hide_options (Gnome2::VFS::URI::HideOptions)

   result = $uri->truncate ($length)
       o   $length (unsigned)

   result = $uri->unlink
   string = $uri->get_user_name
   $uri->set_user_name ($user_name)
       o   $user_name (string)

ENUMS AND FLAGS
   flags Gnome2::VFS::FileInfoOptions
       o   'default' / 'GNOME_VFS_FILE_INFO_DEFAULT'

       o   'get-mime-type' / 'GNOME_VFS_FILE_INFO_GET_MIME_TYPE'

       o   'force-fast-mime-type' / 'GNOME_VFS_FILE_INFO_FORCE_FAST_MIME_TYPE'

       o   'force-slow-mime-type' / 'GNOME_VFS_FILE_INFO_FORCE_SLOW_MIME_TYPE'

       o   'follow-links' / 'GNOME_VFS_FILE_INFO_FOLLOW_LINKS'

       o   'get-access-rights' / 'GNOME_VFS_FILE_INFO_GET_ACCESS_RIGHTS'

       o   'name-only' / 'GNOME_VFS_FILE_INFO_NAME_ONLY'

       o   'get-acl' / 'GNOME_VFS_FILE_INFO_GET_ACL'

       o   'get-selinux-context' / 'GNOME_VFS_FILE_INFO_GET_SELINUX_CONTEXT'

   flags Gnome2::VFS::OpenMode
       o   'none' / 'GNOME_VFS_OPEN_NONE'

       o   'read' / 'GNOME_VFS_OPEN_READ'

       o   'write' / 'GNOME_VFS_OPEN_WRITE'

       o   'random' / 'GNOME_VFS_OPEN_RANDOM'

       o   'truncate' /	'GNOME_VFS_OPEN_TRUNCATE'

   enum	Gnome2::VFS::Result
       o   'ok'	/ 'GNOME_VFS_OK'

       o   'error-not-found' / 'GNOME_VFS_ERROR_NOT_FOUND'

       o   'error-generic' / 'GNOME_VFS_ERROR_GENERIC'

       o   'error-internal' / 'GNOME_VFS_ERROR_INTERNAL'

       o   'error-bad-parameters' / 'GNOME_VFS_ERROR_BAD_PARAMETERS'

       o   'error-not-supported' / 'GNOME_VFS_ERROR_NOT_SUPPORTED'

       o   'error-io' /	'GNOME_VFS_ERROR_IO'

       o   'error-corrupted-data' / 'GNOME_VFS_ERROR_CORRUPTED_DATA'

       o   'error-wrong-format'	/ 'GNOME_VFS_ERROR_WRONG_FORMAT'

       o   'error-bad-file' / 'GNOME_VFS_ERROR_BAD_FILE'

       o   'error-too-big' / 'GNOME_VFS_ERROR_TOO_BIG'

       o   'error-no-space' / 'GNOME_VFS_ERROR_NO_SPACE'

       o   'error-read-only' / 'GNOME_VFS_ERROR_READ_ONLY'

       o   'error-invalid-uri' / 'GNOME_VFS_ERROR_INVALID_URI'

       o   'error-not-open' / 'GNOME_VFS_ERROR_NOT_OPEN'

       o   'error-invalid-open-mode' / 'GNOME_VFS_ERROR_INVALID_OPEN_MODE'

       o   'error-access-denied' / 'GNOME_VFS_ERROR_ACCESS_DENIED'

       o   'error-too-many-open-files' / 'GNOME_VFS_ERROR_TOO_MANY_OPEN_FILES'

       o   'error-eof' / 'GNOME_VFS_ERROR_EOF'

       o   'error-not-a-directory' / 'GNOME_VFS_ERROR_NOT_A_DIRECTORY'

       o   'error-in-progress' / 'GNOME_VFS_ERROR_IN_PROGRESS'

       o   'error-interrupted' / 'GNOME_VFS_ERROR_INTERRUPTED'

       o   'error-file-exists' / 'GNOME_VFS_ERROR_FILE_EXISTS'

       o   'error-loop'	/ 'GNOME_VFS_ERROR_LOOP'

       o   'error-not-permitted' / 'GNOME_VFS_ERROR_NOT_PERMITTED'

       o   'error-is-directory'	/ 'GNOME_VFS_ERROR_IS_DIRECTORY'

       o   'error-no-memory' / 'GNOME_VFS_ERROR_NO_MEMORY'

       o   'error-host-not-found' / 'GNOME_VFS_ERROR_HOST_NOT_FOUND'

       o   'error-invalid-host-name' / 'GNOME_VFS_ERROR_INVALID_HOST_NAME'

       o   'error-host-has-no-address' / 'GNOME_VFS_ERROR_HOST_HAS_NO_ADDRESS'

       o   'error-login-failed'	/ 'GNOME_VFS_ERROR_LOGIN_FAILED'

       o   'error-cancelled' / 'GNOME_VFS_ERROR_CANCELLED'

       o   'error-directory-busy' / 'GNOME_VFS_ERROR_DIRECTORY_BUSY'

       o   'error-directory-not-empty' / 'GNOME_VFS_ERROR_DIRECTORY_NOT_EMPTY'

       o   'error-too-many-links' / 'GNOME_VFS_ERROR_TOO_MANY_LINKS'

       o   'error-read-only-file-system' /
	   'GNOME_VFS_ERROR_READ_ONLY_FILE_SYSTEM'

       o   'error-not-same-file-system'	/
	   'GNOME_VFS_ERROR_NOT_SAME_FILE_SYSTEM'

       o   'error-name-too-long' / 'GNOME_VFS_ERROR_NAME_TOO_LONG'

       o   'error-service-not-available' /
	   'GNOME_VFS_ERROR_SERVICE_NOT_AVAILABLE'

       o   'error-service-obsolete' / 'GNOME_VFS_ERROR_SERVICE_OBSOLETE'

       o   'error-protocol-error' / 'GNOME_VFS_ERROR_PROTOCOL_ERROR'

       o   'error-no-master-browser' / 'GNOME_VFS_ERROR_NO_MASTER_BROWSER'

       o   'error-no-default' /	'GNOME_VFS_ERROR_NO_DEFAULT'

       o   'error-no-handler' /	'GNOME_VFS_ERROR_NO_HANDLER'

       o   'error-parse' / 'GNOME_VFS_ERROR_PARSE'

       o   'error-launch' / 'GNOME_VFS_ERROR_LAUNCH'

       o   'error-timeout' / 'GNOME_VFS_ERROR_TIMEOUT'

       o   'error-nameserver' /	'GNOME_VFS_ERROR_NAMESERVER'

       o   'error-locked' / 'GNOME_VFS_ERROR_LOCKED'

       o   'error-deprecated-function' / 'GNOME_VFS_ERROR_DEPRECATED_FUNCTION'

       o   'error-invalid-filename' / 'GNOME_VFS_ERROR_INVALID_FILENAME'

       o   'error-not-a-symbolic-link' / 'GNOME_VFS_ERROR_NOT_A_SYMBOLIC_LINK'

       o   'num-errors'	/ 'GNOME_VFS_NUM_ERRORS'

   flags Gnome2::VFS::SetFileInfoMask
       o   'none' / 'GNOME_VFS_SET_FILE_INFO_NONE'

       o   'name' / 'GNOME_VFS_SET_FILE_INFO_NAME'

       o   'permissions' / 'GNOME_VFS_SET_FILE_INFO_PERMISSIONS'

       o   'owner' / 'GNOME_VFS_SET_FILE_INFO_OWNER'

       o   'time' / 'GNOME_VFS_SET_FILE_INFO_TIME'

       o   'acl' / 'GNOME_VFS_SET_FILE_INFO_ACL'

       o   'selinux-context' / 'GNOME_VFS_SET_FILE_INFO_SELINUX_CONTEXT'

       o   'symlink-name' / 'GNOME_VFS_SET_FILE_INFO_SYMLINK_NAME'

   flags Gnome2::VFS::URI::HideOptions
       o   'none' / 'GNOME_VFS_URI_HIDE_NONE'

       o   'user-name' / 'GNOME_VFS_URI_HIDE_USER_NAME'

       o   'password' /	'GNOME_VFS_URI_HIDE_PASSWORD'

       o   'host-name' / 'GNOME_VFS_URI_HIDE_HOST_NAME'

       o   'host-port' / 'GNOME_VFS_URI_HIDE_HOST_PORT'

       o   'toplevel-method' / 'GNOME_VFS_URI_HIDE_TOPLEVEL_METHOD'

       o   'fragment-identifier' / 'GNOME_VFS_URI_HIDE_FRAGMENT_IDENTIFIER'

SEE ALSO
       Gnome2::VFS, Glib::Boxed

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.

perl v5.32.0			  2020-08-30		   Gnome2::VFS::URI(3)

NAME | HIERARCHY | METHODS | ENUMS AND FLAGS | SEE ALSO | COPYRIGHT

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Gnome2::VFS::URI&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help