maxon.FileFormatHandlerInterface¶
Description¶
Note
maxon.FileFormat.Zip implements one handler for Directory Browsing
(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.ObjectRefwhich handles the given url with the specific interface.Note
maxon.FileFormat.Zipimplements 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
 
 
- 
FileFormatHandlerInterface.GetFileFormat()¶ Returns the
maxon.FileFormatwhich is handled by thismaxon.FileFormatHandler.- Returns
 The file format.
- Return type
 
- 
FileFormatHandlerInterface.GetHandlerType()¶ Returns the
maxon.DataTypeof the reference class of the handler returned byFileFormatHandlerInterface.CreateHandler().- Returns
 The data type of the reference class.
- Return type