eclipse - 临时文件上的 Eclipse IFileEditorInput
问题描述
Eclipse ClassFileEditor 需要 anIClassFileEditorInput
或 an IFileEditorInput
,它不接受普通的IStorageEditorInput
.
问题是我将二进制数据作为InputStream
对象。我想打开一个编辑器,IStorageEditorInput
除了类文件之外,它非常适用。
我正在寻找一种将流转换为临时文件然后在其上创建的方法IFileEditorInput
。但是,我找不到任何方法来创建临时文件作为IFile
对象,而IFileEditorInput
. 不知何故,IFile
需要在 Eclipse 工作区中。
解决方案
推荐阅读
- android - 带有 RecyclerView 的 Fragment 中的 Android 10 (Q) 过渡共享元素视图被卡在固定位置
- c++ - 如何使用 6502 的相应枚举存储处理器状态标志的值
- javascript - 确定用户点击了哪个图表
- debugging - 在 Visual Studio Code 中调试strapi
- unity3d - 停止发射后粒子从起始点消失
- loopbackjs - 环回:在远程方法中传递 ctx 对象
- c++ - c ++删除动态数组的最后一个元素
- pine-script - Pine 输入中的两个自定义源
- arrays - VBScript excel下拉列表
- javascript - Turbolinks 引发未捕获的类型错误:window.scrollTo 不是函数