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.

This class provides 3 methods for working with IOService objects in Java programs. Available methods include: detectFormat, getFormatByFileName, registerFormat. All exported members are accessible to any Java application after installing the Aspose.3D FOSS for Java package.

Description

IOService is a class in the Aspose.3D FOSS library for Java that exposes 3 methods and 0 properties for programmatic use.

Core capabilities include: Adds a new fileformat to the service for future format detection. These operations enable developers to integrate ioservice functionality directly into Java applications.

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