IOService

Overview

IOService is a class in Aspose.3D FOSS for Typescript.

IOService.instance returns the singleton IOService instance.

Methods

SignatureDescription
instance()IOServiceReturns the singleton IOService instance
registerExporter(exporter: Exporter)Registers a custom Exporter for later use
registerImporter(importer: Importer)Registers a custom Importer for later use
registerDetector(detector: FormatDetector)Registers a FormatDetector to identify file formats
registerPlugin(plugin: Plugin)Registers a Plugin that may provide import/export capabilities
detectFormat(stream: any, fileName: string)FileFormat | nullDetects the file format from a stream and optional filename
createExporter(formatType: FileFormat)ExporterCreates an Exporter for the specified FileFormat
createImporter(formatType: FileFormat)ImporterCreates an Importer for the specified FileFormat
getPluginForFormat(fileFormat: FileFormat)Plugin | nullReturns the Plugin handling the given FileFormat, or null
getPluginForExtension(extension: string)Plugin | nullReturns the Plugin for a file extension, or null
getAllPlugins()Plugin[]Returns an array of all registered Plugins

See Also