LocalFileSystem

LocalFileSystem

Overview

LocalFileSystem is a class in Aspose.3D FOSS for Java. Inherits from: FileSystem.

This class provides 8 methods for working with LocalFileSystem objects in Java programs. Available methods include: LocalFileSystem, 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

SignatureDescription
LocalFileSystem(directory: String)Calls LocalFileSystem(directory) on this LocalFileSystem instance.
readFile(fileName: String, options: IOConfig)InputStreamCalls readFile(fileName, options) on this LocalFileSystem instance.
writeFile(fileName: String, options: IOConfig)OutputStreamCalls writeFile(fileName, options) on this LocalFileSystem instance.
close()Calls close on this LocalFileSystem instance.
createLocalFileSystem(directory: String)LocalFileSystemInitialize a new FileSystem that only access local directory.
createMemoryFileSystem(files: Map<String, ByteArrayOutputStream>)MemoryFileSystemInitialize a new FileSystem from a dictionary of memory streams.
createDummyFileSystem()DummyFileSystemCreate a dummy file system, read/write operations are dummy operations.
createZipFileSystem(stream: InputStream, baseDir: String)ZipFileSystemCreate a file system to provide to the read-only access to specified zip file or zip stream.

See Also

 English