问题
Are you able to access your file-system, using Jetpack, and do operations such as creating or reading files or saving images?
回答1:
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.
[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.
回答2:
Sorry, Nickolay, you're wrong. See file documentation.
来源:https://stackoverflow.com/questions/2051189/what-are-mozilla-labs-jetpack-io-capabilities