FileSystem
概述
FileSystem 是 Aspose.3D FOSS 中用于 Python 的一个类。
文件系统封装。
此类在 Python 程序中为 FileSystem 对象声明了 7 个方法。可用的方法包括:__init__、create_dummy_file_system、create_local_file_system、create_zip_file_system、read_file、write_file。在安装了用于 Python 的 Aspose.3D FOSS 包后,所有公共成员对任何 Python 应用程序均可访问。
方法
| 签名 | 描述 |
|---|---|
__init__() | 在 FOSS 版 中未实现——运行时抛出。 Calls init 在此 FileSystem 实例上。 |
create_zip_file_system(stream, base_dir: str) → 'FileSystem' | 在 FOSS 版 中未实现——运行时抛出。 创建一个由 zip 存档流支持的虚拟文件系统 |
create_zip_file_system(file_name: str) → 'FileSystem' | 在 FOSS 版 中未实现——运行时抛出。 在此 FileSystem 实例上调用 create_zip_file_system(file_name)。 |
create_local_file_system(directory: str) → 'FileSystem' | 在 FOSS 版中未实现 — 运行时抛出。 在此 FileSystem 实例上调用 create_local_file_system(directory)。 |
create_dummy_file_system() → 'FileSystem' | 在 FOSS 版中未实现 — 运行时抛出。 在此 FileSystem 实例上调用 create_dummy_file_system。 |
read_file(file_name: str, options) → 'io.IOBase' | 在 FOSS 版中未实现 — 在运行时抛出。 在此 FileSystem 实例上调用 read_file(file_name, options)。 |
write_file(file_name: str, options) → 'io.IOBase' | 在 FOSS 版中未实现 — 在运行时抛出。 在此 FileSystem 实例上调用 write_file(file_name, options)。 |