PdfLoadOptions

PdfLoadOptions

概述

PdfLoadOptions 是 Aspose.3D FOSS 为 Java 提供的一个类。继承自:LoadOptions。

PDF 加载选项。

此类在 Java 程序中提供了 16 个用于操作 PdfLoadOptions 对象的方法。可用的方法包括:LoadOptions、PdfLoadOptions、getEncoding、getFileFormat、getFileName、getFileSystem、getFileSystemFactory、getLookupPaths、getPassword、setEncoding、setFileName、setFileSystem,以及另外 3 个方法。安装 Aspose.3D FOSS for Java 包后,所有公共成员对任何 Java 应用程序均可访问。属性:encoding、fileFormat、fileName、fileSystem、fileSystemFactory、lookupPaths,以及另一个。

属性

名称类型访问描述
passwordbyte[]读取获取用于解锁加密 PDF 文件的密码。
fileFormatFileFormat读取获取文件格式。
fileSystemFactoryFileSystemFactory读取获取 FileSystem 的工厂类。
encodingjava.nio.charset.Charset读取获取基于文本文件的默认编码。
fileSystemFileSystem读取允许用户自行处理在加载/保存期间如何管理外部依赖。
lookupPathsjava.util.ArrayList<String>读取某些文件(如 OBJ)依赖外部文件,查找路径将允许 Aspose.3D 查找并加载外部文件。
fileNameString读取导出/导入场景的文件名。

方法

签名描述
PdfLoadOptions()PdfLoadOptions 的构造函数。
getPassword() → byte[]获取用于解锁加密 PDF 文件的密码。
setPassword(value: byte[])设置用于解锁加密 PDF 文件的密码。
LoadOptions()初始化 LoadOptions 类的新实例。
LoadOptions(format: FileFormat)使用文件格式初始化 LoadOptions 类的新实例。
getFileFormat() → FileFormat返回文件格式。
getFileSystemFactory() → FileSystemFactory获取 FileSystem 的工厂类。
setFileSystemFactory(value: FileSystemFactory)设置 FileSystem 的工厂类。
getEncoding() → java.nio.charset.Charset获取基于文本的文件的默认编码。
setEncoding(value: java.nio.charset.Charset)设置基于文本的文件的默认编码。
getFileSystem() → FileSystem允许用户在加载/保存期间自行处理外部依赖的管理方式。
setFileSystem(value: FileSystem)允许用户在加载/保存期间自行处理外部依赖的管理方式。
getLookupPaths() → java.util.ArrayList<String>某些文件(例如 OBJ)依赖外部文件,查找路径将允许 Aspose.3D 查找并加载外部文件。
setLookupPaths(value: java.util.ArrayList<String>)某些文件(例如 OBJ)依赖外部文件,查找路径将允许 Aspose.3D 查找并加载外部文件。
getFileName() → String导出/导入场景的文件名。
setFileName(value: String)导出/导入场景的文件名。

另请参阅

 中文