OpenMaya.MURI Class Reference
OpenMaya.MURI.__init__ |
( |
| ) |
|
x.__init__(...) initializes x; see help(type(x)) for signature
OpenMaya.MURI.__repr__ |
( |
| ) |
|
x.__repr__() <==> repr(x)
OpenMaya.MURI.__str__ |
( |
| ) |
|
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.
clear() -> self
Clears the contents of the MURI object.
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.
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.