maxon.FileFormatHandlerInterface¶
Description¶
Note
maxon.IoBrowseRef
) and one for maxon.ReadArchiveRef
.Methods Signature¶
|
Creates an |
|
Returns the dependencies of this
maxon.FileFormatHandler . |
Returns the |
|
Returns the |
Methods Definition¶
-
FileFormatHandlerInterface.
CreateHandler
(HANDLER, url)¶ Creates an
maxon.ObjectRef
which handles the given url with the specific interface.Note
FileFormat::Zip implements one handler for Directory Browsing “
maxon.IoBrowseRef
” and one for workign with archives “maxon.ReadArchiveRef
”.- Parameters
HANDLER (Union[
maxon.UrlInterface
,maxon.Data
, type]) – Reference class to be expected with the result of CreateHandler.
- Returns
Reference class to be expected with the result of CreateHandler.
- Return type
same as HANDLER
-
FileFormatHandlerInterface.
GetDependends
(url)¶ - Returns the dependencies of this
maxon.FileFormatHandler
.This allows to give an priority order for a implementation.Warning
This function should not be called except from
FileFormatDetectionInterface.DetectAll()
.- Returns
Defines the priority order of file formats. The lower the value the later it will be called.
- Return type
maxon.FILEFORMAT_PRIORITY
-
FileFormatHandlerInterface.
GetFileFormat
()¶ Returns the
maxon.FileFormat
which is handled by thismaxon.FileFormatHandler
.- Returns
The file format.
- Return type
-
FileFormatHandlerInterface.
GetHandlerType
()¶ Returns the
maxon.DataType
of the reference class of the handler returned byFileFormatHandlerInterface.CreateHandler()
.- Returns
The data type of the reference class.
- Return type