AmfSaveOptions

AmfSaveOptions

Overview

AmfSaveOptions is a class in Aspose.3D FOSS for Java. Inherits from: SaveOptions.

Options for AMF saving.

This class provides 19 methods for working with AmfSaveOptions objects in Java programs. Available methods include: AmfSaveOptions, SaveOptions, getEnableCompression, getEncoding, getExportTextures, getFileFormat, getFileName, getFileSystem, getFileSystemFactory, getLookupPaths, setEnableCompression, setEncoding, and 5 additional methods. All public members are accessible to any Java application after installing the Aspose.3D FOSS for Java package. Properties: enableCompression, encoding, exportTextures, fileFormat, fileName, fileSystem, and 2 more.

Properties

NameTypeAccessDescription
enableCompressionbooleanReadWhether to use compression to reduce the final file size, default value is true.
exportTexturesbooleanReadTry to copy textures used in scene to output directory.
fileFormatFileFormatReadGets the file format.
fileSystemFactoryFileSystemFactoryReadGets the factory class for FileSystem.
encodingjava.nio.charset.CharsetReadGets the default encoding for text-based files.
fileSystemFileSystemReadAllow user to handle how to manage the external dependencies during load/save.
lookupPathsjava.util.ArrayList<String>ReadSome files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load.
fileNameStringReadThe file name of the exporting/importing scene.

Methods

SignatureDescription
AmfSaveOptions()Constructor of AmfSaveOptions.
getEnableCompression()booleanWhether to use compression to reduce the final file size, default value is true.
setEnableCompression(value: boolean)Sets whether to use compression to reduce the final file size.
SaveOptions()Initializes a new instance of the SaveOptions class.
SaveOptions(format: FileFormat)Initializes a new instance of the SaveOptions class with a file format.
SaveOptions(contentType: FileContentType)Initializes a new instance of the SaveOptions class with a file content type.
getExportTextures()booleanTry to copy textures used in scene to output directory.
setExportTextures(value: boolean)Try to copy textures used in scene to output directory.
getFileFormat()FileFormatReturns the file format.
getFileSystemFactory()FileSystemFactoryGets the factory class for FileSystem.
setFileSystemFactory(value: FileSystemFactory)Sets the factory class for FileSystem.
getEncoding()java.nio.charset.CharsetGets the default encoding for text-based files.
setEncoding(value: java.nio.charset.Charset)Sets the default encoding for text-based files.
getFileSystem()FileSystemAllow user to handle how to manage the external dependencies during load/save.
setFileSystem(value: FileSystem)Allow user to handle how to manage the external dependencies during load/save.
getLookupPaths()java.util.ArrayList<String>Some files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load.
setLookupPaths(value: java.util.ArrayList<String>)Some files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load.
getFileName()StringThe file name of the exporting/importing scene.
setFileName(value: String)The file name of the exporting/importing scene.

See Also

 English