ZipFileSystem
Overview
ZipFileSystem is a class in Aspose.3D FOSS for Java.
Inherits from: FileSystem.
This class provides 9 methods for working with ZipFileSystem objects in Java programs.
Available methods include: ZipFileSystem, close, createDummyFileSystem, createLocalFileSystem, createMemoryFileSystem, createZipFileSystem, readFile, writeFile.
All public members are accessible to any Java application after installing the Aspose.3D FOSS for Java package.
Methods
| Signature | Description |
|---|---|
ZipFileSystem(fileName: String) | Calls ZipFileSystem(fileName) on this ZipFileSystem instance. |
ZipFileSystem(stream: InputStream, baseDir: String) | Calls ZipFileSystem(stream, baseDir) on this ZipFileSystem instance. |
readFile(fileName: String, options: IOConfig) → InputStream | Not implemented in the FOSS edition — throws at runtime. Calls readFile(fileName, options) on this ZipFileSystem instance. |
writeFile(fileName: String, options: IOConfig) → OutputStream | Not implemented in the FOSS edition — throws at runtime. Calls writeFile(fileName, options) on this ZipFileSystem instance. |
close() | Calls close on this ZipFileSystem instance. |
createLocalFileSystem(directory: String) → LocalFileSystem | Initialize a new FileSystem that only access local directory. |
createMemoryFileSystem(files: Map<String, ByteArrayOutputStream>) → MemoryFileSystem | Initialize a new FileSystem from a dictionary of memory streams. |
createDummyFileSystem() → DummyFileSystem | Create a dummy file system, read/write operations are dummy operations. |
createZipFileSystem(stream: InputStream, baseDir: String) → ZipFileSystem | Create a file system to provide to the read-only access to specified zip file or zip stream. |