问题描述
您是否可以使用Jetpack访问您的文件系统,并执行诸如创建或读取文件或保存图像等操作?
Are you able to access your file-system, using Jetpack, and do operations such as creating or reading files or saving images?
推荐答案
附加SDK 1.0b5(目前最新的版本)有一个。请注意,它是,这意味着它可以在未来的附加SDK版本中改变。
The Add-on SDK 1.0b5 (the most recent version at this moment) has a file module for this purpose. Note that it's not a high-level module, meaning it can change incompatibly in future Add-on SDK versions.
[2010/01的原始答案]
No ,目前还没有针对jetpack的API,请注意上的红色链接,以及。您不会阻止将常规Mozilla API用于文件I / O (但?),但是。
[the original answer from 2010/01]No, there's no jetpack-specific APIs for this yet, note the red link on MDC and the lack of a "JEP" about this. You're not prevented from using normal Mozilla APIs for file I/O (yet?), though.
这篇关于什么是Mozilla实验室的Jetpack IO功能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!