IOService

Overview

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

IOService.detectFormat detects the file format of a stream, optionally using the file name.

Methods

SignatureDescription
detectFormat(stream: Stream, fileName: String)FileFormatDetects the file format of a stream, optionally using the file name
getFormatByFileName(fileName: String)FileFormatReturns the FileFormat that matches the given file name’s extension
registerFormat(format: FileFormat)Adds a new FileFormat to the service for future format detection

See Also