[Jslib] reading files in a .jar archive

Pete Collins pete at mozdevgroup.com
Sun Aug 1 15:56:21 PDT 2010


On 8/1/10 9:46 AM, David VANTYGHEM wrote:
>
> How could I read data into a jar file?
>    

Try using ChromeFile lib.

   http://jslib.mozdev.org/libraries/io/chromeFile.js.html

include(jslib_chromefile);

var cf = new ChromeFile("chrome://jslib/content/");

cf.read();



-- 
Pete Collins - Founder, Mozdev Group Inc.
www.mozdevgroup.com
Mozilla Software Development Solutions
tel: 1-719-302-5811
fax: 1-719-302-5813



More information about the Jslib mailing list