OpenMaya.MURI Class Reference

Class Description

Manipulate URIs.
+ Inheritance diagram for OpenMaya.MURI:

Public Member Functions

__eq__ ()
 
__ge__ ()
 
__gt__ ()
 
__init__ ()
 
__le__ ()
 
__lt__ ()
 
__ne__ ()
 
__repr__ ()
 
__str__ ()
 
addQueryItem ()
 
asString ()
 
clear ()
 
copy ()
 
getAllQueryItemKeys ()
 
getAllQueryItemValues ()
 
getAuthority ()
 
getDirectory ()
 
getFileName ()
 
getFragment ()
 
getHost ()
 
getPassword ()
 
getPath ()
 
getPort ()
 
getQueryItemValue ()
 
getQueryPairDelimiter ()
 
getQueryValueDelimiter ()
 
getScheme ()
 
getUserInfo ()
 
getUserName ()
 
isEmpty ()
 
isValid ()
 
removeAllQueryItems ()
 
removeQueryItem ()
 
setAuthority ()
 
setDirectory ()
 
setFileName ()
 
setFragment ()
 
setHost ()
 
setPassword ()
 
setPath ()
 
setPort ()
 
setQueryDelimiters ()
 
setScheme ()
 
setURI ()
 
setUserInfo ()
 
setUserName ()
 

Static Public Member Functions

isValidURI ()
 

Constructor & Destructor Documentation

OpenMaya.MURI.__init__ ( )
x.__init__(...) initializes x; see help(type(x)) for signature

Member Function Documentation

OpenMaya.MURI.__eq__ ( )
x.__eq__(y) <==> x==y
OpenMaya.MURI.__ge__ ( )
x.__ge__(y) <==> x>=y
OpenMaya.MURI.__gt__ ( )
x.__gt__(y) <==> x>y
OpenMaya.MURI.__le__ ( )
x.__le__(y) <==> x<=y
OpenMaya.MURI.__lt__ ( )
x.__lt__(y) <==> x<y
OpenMaya.MURI.__ne__ ( )
x.__ne__(y) <==> x!=y
OpenMaya.MURI.__repr__ ( )
x.__repr__() <==> repr(x)
OpenMaya.MURI.__str__ ( )
x.__str__() <==> str(x)
OpenMaya.MURI.addQueryItem ( )
addQueryItem(key, value) -> self

Add a key/value pair to the query string of the URI.
OpenMaya.MURI.asString ( )
asString() -> string

Returns the string representation of the URI.
OpenMaya.MURI.clear ( )
clear() -> self

Clears the contents of the MURI object.
OpenMaya.MURI.copy ( )
copy(source) -> self

Copy method. Assigns the value of one MURI to another.

* source (MURI) - Existing MURI object to copy.
OpenMaya.MURI.getAllQueryItemKeys ( )
getAllQueryItemKeys() -> array

Returns an array containing the keys from all query string pairs.
OpenMaya.MURI.getAllQueryItemValues ( )
getAllQueryItemValues(key) -> array

Returns an array containing the values from all query string pairs which have a given key.
OpenMaya.MURI.getAuthority ( )
getAuthority() -> string

Returns the authority component of the URI.
OpenMaya.MURI.getDirectory ( )
getDirectory() -> string

Returns just the file directory portion of the URI, without the file name.
OpenMaya.MURI.getFileName ( )
getFileName(bool includeExtension=True) -> string

Returns just the file name portion of the URI, with or without the extension.
OpenMaya.MURI.getFragment ( )
getFragment() -> string

Returns the fragment component of the URI.
OpenMaya.MURI.getHost ( )
getHost() -> string

Returns the host component of the URI.
OpenMaya.MURI.getPassword ( )
getPassword() -> string

Returns the password component of the URI.
OpenMaya.MURI.getPath ( )
getPath() -> string

Returns the path component of the URI.
OpenMaya.MURI.getPort ( )
getPort() -> int

Returns the port component of the URI, or -1 if the port is not defined.
OpenMaya.MURI.getQueryItemValue ( )
getQueryItemValue(key) -> string

Returns the value from the first query string pair in the URI which has a given key.
OpenMaya.MURI.getQueryPairDelimiter ( )
getQueryPairDelimiter() -> string

Returns the character used to delimit between key-value pairs in the query string of the URI.
OpenMaya.MURI.getQueryValueDelimiter ( )
getQueryValueDelimiter() -> string

Returns the character used to delimit keys and values in the query string of the URI.
OpenMaya.MURI.getScheme ( )
getScheme() -> string

Returns the scheme of the URI.
OpenMaya.MURI.getUserInfo ( )
getUserInfo() -> string

Returns the user info component of the URI.
OpenMaya.MURI.getUserName ( )
getUserName() -> string

Returns the user name component of the URI.
OpenMaya.MURI.isEmpty ( )
isEmpty() -> bool

Determines if the URI does not contain any data.
OpenMaya.MURI.isValid ( )
isValid() -> bool

Determines if the URI is valid.
OpenMaya.MURI.isValidURI ( )
static
isValidURI(uri) -> bool

Determines if a string value represents a valid URI.
OpenMaya.MURI.removeAllQueryItems ( )
removeAllQueryItems(int) -> self

Removes all query string pairs having a given key from the URI.
OpenMaya.MURI.removeQueryItem ( )
removeQueryItem(int) -> self

Removes the first query string pair with a given key from the URI.
OpenMaya.MURI.setAuthority ( )
setAuthority(string) -> self

Set the authority portion of the URI.
OpenMaya.MURI.setDirectory ( )
setDirectory(string) -> self

Sets just the directory portion of the URI (i.e. not including the filename).
OpenMaya.MURI.setFileName ( )
setFileName(string) -> self

Sets just the filename portion of the URI (i.e. not including the directory).
OpenMaya.MURI.setFragment ( )
setFragment(string) -> self

Sets the fragment component of the URI.
OpenMaya.MURI.setHost ( )
setHost(string) -> self

Set the host component of the URI.
OpenMaya.MURI.setPassword ( )
setPassword(string) -> self

Sets the password part of the user info component.
OpenMaya.MURI.setPath ( )
setPath(string) -> self

Sets the path component of the URI.
OpenMaya.MURI.setPort ( )
setPort(int) -> self

Set the port component of the URI.
OpenMaya.MURI.setQueryDelimiters ( )
setQueryDelimiters(valueDelimiter, pairDelimiter) -> self

Sets the delimiter characters used in the query string of the URI.
OpenMaya.MURI.setScheme ( )
setScheme(string) -> self

Sets the scheme component of the URI.
OpenMaya.MURI.setURI ( )
setURI(uri) -> self

Initialize the MURI from a string value.
OpenMaya.MURI.setUserInfo ( )
setUserInfo(string) -> self

Decomposes the userInfo string to fill out the userInfo-related component values.
OpenMaya.MURI.setUserName ( )
setUserName(string) -> self

Sets the user name part of the user info component.

The documentation for this class was generated from the following file:
  • D:/Maya-MD-Merge/input/python/2.0/OpenMaya.py