IOConfig

IOConfig class

IO config for serialization/deserialization. User can specify detailed configurations like dependency look-up path Or format-related configs here @hideconstructor

Methods

getFileSystemFactory

NameDescription
getFileSystemFactory()Gets or sets the factory class for FileSystem. The default factory will create LocalFileSystem which is not suitable for server environment.

Result:


setFileSystemFactory

NameDescription
setFileSystemFactory(value)Gets or sets the factory class for FileSystem. The default factory will create LocalFileSystem which is not suitable for server environment.

Result:


getFileFormat

NameDescription
getFileFormat()Gets the file format that specified in current Save/Load option.

Result:


getEncoding

NameDescription
getEncoding()Gets or sets the default encoding for text-based files. Default value is null which means the importer/exporter will decide which encoding to use.

Result:


getFileSystem

NameDescription
getFileSystem()Allow user to handle how to manage the external dependencies during load/save.

Result:


setFileSystem

NameDescription
setFileSystem(value)Allow user to handle how to manage the external dependencies during load/save.

Result:


getLookupPaths

NameDescription
getLookupPaths()Some files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load.

Result:


getFileName

NameDescription
getFileName()The file name of the exporting/importing scene. This is optional, but useful when serialize external assets like OBJ’s material.

Result:


setFileName

NameDescription
setFileName(value)The file name of the exporting/importing scene. This is optional, but useful when serialize external assets like OBJ’s material.

Result: