DummyFileSystem

DummyFileSystem

Overview

DummyFileSystem là một lớp trong Aspose.3D FOSS cho Java. Dòng thừa kế từ: FileSystem.

Khóa học này cung cấp 7 phương pháp để làm việc với các đối tượng DummyFileSystem trong các chương trình Java. Các phương pháp có sẵn bao gồm: close, createDummyFileSystem, createLocalFileSystem, createMemoryFileSystem, createZipFileSystem, readFile, writeFile. Tất cả các thành viên công cộng đều có thể truy cập bất kỳ ứng dụng Java nào sau khi cài đặt Aspose.3D FOSS cho gói Java.

Methods

SignatureDescription
readFile(fileName: String, options: IOConfig)InputStreamCall readFile(fileName, tùy chọn) trên trường hợp này DummyFileSystem.
writeFile(fileName: String, options: IOConfig)OutputStreamCalls writeFile(fileName, tùy chọn) trên trường hợp này DummyFileSystem.
close()Gọi gần vào trường hợp DummyFileSystem này.
createLocalFileSystem(directory: String)LocalFileSystemKhởi động một FileSystem mới mà chỉ truy cập vào thư mục địa phương.
createMemoryFileSystem(files: Map<String, ByteArrayOutputStream>)MemoryFileSystemKhởi đầu một FileSystem mới từ một từ điển của dòng bộ nhớ.
createDummyFileSystem()DummyFileSystemTạo một hệ thống tệp ngu ngốc, các hoạt động đọc/tự viết là hoạt hình ngu.
createZipFileSystem(stream: InputStream, baseDir: String)ZipFileSystemTạo một hệ thống tệp để cung cấp cho truy cập đọc đơn đến các tập tin zip hoặc dòng zip cụ thể.

See Also

 Tiếng Việt