gnomevfs.URI — Object encapsulating a URI
| class gnomevfs.URI: | 
| 
 | 
            def append_file_name(file_name)
      | 
 | The file name to append. | 
| Returns: | The new URI. | 
Create a new URI by appending file_name.  This will add the appropriate directory separator if necessary.
            def append_path(path)
      | 
 | The path to append (unescaped) | 
| Returns: | The new URI. | 
Create a new URI by appending path.  This will add the appropriate directory separator if necessary.
            def append_string(path)
      | 
 | The path to append (fully escaped) | 
| Returns: | The new URI. | 
Create a new URI by appending path.  This will add the appropriate directory separator if necessary.
            def is_parent(item, recursive)
      | 
 | The item to search for. | 
| 
 | Whether to check the entire hierarchy. | 
| Returns: | True if itemis a child of self. | 
Check if this URI is a parent of item.  If recursive is True, check the entire hierarchy.
            def resolve_relative(relative_reference)
      | 
 | A string representing the (possibly) relative URI. | 
| Returns: | The new URI. | 
Create a new URI from relative_reference relative to self.  The resolution algorithm follows RFC 2396. For details, see section 5.2 of http://www.ietf.org/rfc/rfc2396.txt .
In short, if the base uri ends in '/', relative_reference is appended to base, otherwise it replaces the part of base after the last '/'.