|
Page Updated: March 08, 2005
Latest Version: 0.1.359 |
|
Debug |
Install | File
I/O |
RDF |
Network |
Sound | Utils |
XUL | Zip
|
|
|
Home | Mailing List |
Install |
Source Code |
Downloads | Bugs
| docs
| clients |
PackageInfo
File: utils/packageInfo.js
Status: Alpha
Module Identifier: jslib_packageinfo
About: This class obtains data from a packages contents.rdf datasource
Fuction List
- Constructor
- PackageInfo (aPkgName)
- Creates the PackageInfo object.
- Members
- version
- read only getter that returns the version
- author
- read only getter that returns the author
- name
- read only getter that returns the name
- displayName
- read only getter that returns the display name
Example
To use the PackageInfo library:include (jslib_packageinfo);
var pi = new PackageInfo("mypackage");
var version = pi.version;
var author = pi.author;
var name = pi.name;
var displayName = pi.displayName;