FileSystem class

FileSystem class

File system encapsulation. Aspose.3D will use this to read/write dependencies.

The FileSystem type exposes the following members:

Methods

MethodDescription
create_zip_file_system(, stream, base_dir)Create a file system to provide to the read-only access to speicified zip file or zip stream.
File system will be disposed after the open/save operation.
create_zip_file_system(, file_name)File system to provide to the read-only access to speicified zip file or zip stream.
File system will be disposed after the open/save operation.
read_file(self, file_name, options)Create a stream for reading dependencies.
write_file(self, file_name, options)Create a stream for writing dependencies.
create_local_file_system(, directory)Initialize a new FileSystem that only access local directory.
All file read/write on this FileSystem instance will be mapped to specified directory.
create_dummy_file_system()Create a dummy file system, read/write operations are dummy operations.

See Also