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
| Signature | Description |
|---|---|
createZipFileSystem(_stream: any, _baseDir: string) → FileSystem | Not 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) → any | Not implemented in the FOSS edition — throws at runtime. Reads the contents of the specified file using the provided IOConfig |
writeFile(_fileName: string, _options: IOConfig) → any | Not implemented in the FOSS edition — throws at runtime. Writes data to the specified file using the provided IOConfig |
createLocalFileSystem(_directory: string) → FileSystem | Not implemented in the FOSS edition — throws at runtime. Creates a file system rooted at the specified local directory for reading and writing assets |
createDummyFileSystem() → FileSystem | Not implemented in the FOSS edition — throws at runtime. Creates a placeholder file system that performs no real I/O |