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.IoHandlerwhich is responsible for the given scheme. Themaxon.IoHandleris searched for at the IoHandlers registry.
-
IoHandlerInterface.GetSystemPath(url)¶ Translates a
maxon.Urlto 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.Urlis a link, themaxon.IoHandlercan resolve it (if supported).Note
The file:/// handler resolves symbolic links, where the http:// handler does not resolve links.
- Parameters
flags (
maxon.NORMALIZEFLAGS) – Flags to define type of normalization.- Returns
The normalized
maxon.Url.- Return type
-
IoHandlerInterface.OpenConnection(url)¶ Opens a connection and returns the specified
maxon.IoConnectionRefhandler 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.