如何在Eclipse中创建内存工作区或文件夹?

时间:2022-05-27 22:46:36

I'm working on eclipse plugin. I would like to make by it virtual folder or whole virtual workspace in Eclipse without having it written in File system. (Ergo every read and write, which would Eclipse try to do with files in folder or workspace, would be processed only in memory of plugin.)

我正在研究eclipse插件。我想在Eclipse中创建虚拟文件夹或整个虚拟工作区而不用文件系统编写。 (Ergo每次读取和写入,Eclipse会尝试处理文件夹或工作区中的文件,只会在插件的内存中处理。)

But I can't find any suitable method, how to do it. Thanks for help.

但我找不到任何合适的方法,怎么做。感谢帮助。

1 个解决方案

#1


1  

If you mean IFolder you can't. The standard Eclipse workspace code does not support in-memory folders or files.

如果你的意思是IFolder你不能。标准Eclipse工作区代码不支持内存中的文件夹或文件。

#1


1  

If you mean IFolder you can't. The standard Eclipse workspace code does not support in-memory folders or files.

如果你的意思是IFolder你不能。标准Eclipse工作区代码不支持内存中的文件夹或文件。