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
| Signature | Description |
|---|---|
detectFormat(stream: Stream, fileName: String) → FileFormat | Detects the file format of a stream, optionally using the file name |
getFormatByFileName(fileName: String) → FileFormat | Returns the FileFormat that matches the given file name’s extension |
registerFormat(format: FileFormat) | Adds a new FileFormat to the service for future format detection |