FileSystem

Overview

FileSystem is a class in Aspose.3D FOSS for TypeScript.

FileSystem.createLocalFileSystem(directory) creates a file system rooted at the specified local directory for reading and writing assets.

This class declares 5 methods for FileSystem objects in TypeScript programs. Available methods include: createDummyFileSystem, createLocalFileSystem, createZipFileSystem, readFile, writeFile. Public members are accessible to any TypeScript application after installing the Aspose.3D FOSS for TypeScript package.

Methods

SignatureDescription
createZipFileSystem(_stream: any, _baseDir: string)FileSystemNot implemented in the FOSS edition — throws at runtime. Creates a zip‑based file system using the given stream and base directory
readFile(_fileName: string, _options: IOConfig)anyNot implemented in the FOSS edition — throws at runtime. Reads the contents of the specified file using the provided IOConfig
writeFile(_fileName: string, _options: IOConfig)anyNot implemented in the FOSS edition — throws at runtime. Writes data to the specified file using the provided IOConfig
createLocalFileSystem(_directory: string)FileSystemNot implemented in the FOSS edition — throws at runtime. Creates a file system rooted at the specified local directory for reading and writing assets
createDummyFileSystem()FileSystemNot implemented in the FOSS edition — throws at runtime. Creates a placeholder file system that performs no real I/O

See Also

 English