maxon.IoHandlerInterface¶
Description¶
Methods Signature¶
|
Returns the |
|
Translates a |
Returns the url scheme to use in Urls for this handler (such as “file” if this is the IoHandler for the file system). |
|
|
IoNormalize(self, flags=maxon.NORMALIZEFLAGS.SCHEME_BASED): Returns a normalized |
|
Opens a connection and returns the specified |
|
Removes the last part of the given url and returns the parent url. |
|
Converts an OS or handler-specific system path to a |
Methods Definition¶
-
static
IoHandlerInterface.
GetHandlerForScheme
(scheme)¶ Returns the
maxon.IoHandler
which is responsible for the given scheme. Themaxon.IoHandler
is searched for at the IoHandlers registry.
-
IoHandlerInterface.
GetSystemPath
(url)¶ Translates a
maxon.Url
to a OS or handler-specific system path.
-
IoHandlerInterface.
GetUrlScheme
()¶ Returns the url scheme to use in Urls for this handler (such as “file” if this is the IoHandler for the file system).
- Returns
Url scheme of this handler.
- Return type
-
IoHandlerInterface.
IoNormalize
(flags=<NORMALIZEFLAGS.SCHEME_BASED: 2>)¶ IoNormalize(self, flags=maxon.NORMALIZEFLAGS.SCHEME_BASED): Returns a normalized
maxon.Url
. If the normalizedmaxon.Url
is a link, themaxon.IoHandler
can resolve it (if supported).
-
IoHandlerInterface.
OpenConnection
(url)¶ Opens a connection and returns the specified
maxon.IoConnectionRef
handler for this type of protocol.- Parameters
- Returns
A reference to the specialized
maxon.IoConnectionRef
.- Return type
-
IoHandlerInterface.
RemoveUrl
(url)¶ Removes the last part of the given url and returns the parent url.