JimfsJava 内存文件系统
Jimfs 是一个用于 Java 7+ 的内存中的文件系统,实现了 java.nio.file 抽象文件系统 API.
Maven
<dependency> <groupId>com.google.jimfs</groupId> <artifactId>jimfs</artifactId> <version>1.0</version> </dependency>
示例代码:
import com.google.common.jimfs.Configuration; import com.google.common.jimfs.Jimfs; ... // For a simple file system with Unix-style paths and behavior: FileSystem fs = Jimfs.newFileSystem(Configuration.unix()); Path foo = fs.getPath("/foo"); Files.createDirectory(foo); Path hello = foo.resolve("hello.txt"); // /foo/hello.txt Files.write(hello, ImmutableList.of("hello world"), StandardCharsets.UTF_8);
评论
JimfsJava 内存文件系统
Jimfs是一个用于Java7+的内存中的文件系统,实现了java.nio.file抽象文件系统API.Maven<dependency> <groupId>com.goog
JimfsJava 内存文件系统
0
ParallelGitJava NIO 内存文件系统
ParallelGit 是为 Git 应用准备的高性能 Java NIO 内存文件系统。Parall
ParallelGitJava NIO 内存文件系统
0
vramfs显卡内存文件系统
vramfs是一个用来在VRAM内存中创建一个文件系统的工具。其思路跟ramdisk类似。不过它使用显卡缓存来存储文件。架构:读写性能比较:要求:内核2.6或者更新版本的LinuxFUSE开发文件支持
vramfs显卡内存文件系统
0
ParallelGitJava NIO 内存文件系统
ParallelGit是为Git应用准备的高性能JavaNIO内存文件系统。ParallelGit是基于JGit构建的,可以帮助Java项目快速的访问Git文件。ParallelGit可以帮助你操作本
ParallelGitJava NIO 内存文件系统
0