Sun SPOT getting properties from MANIFEST.MF


/ Published in: Java
Save to your folder(s)

Shows how to access properties in the resources/META-INF/MANIFEST.MF file.
Presumably this file would have an entry like the following:
NameOfFile: winners.txt
The following code accesses this property at runtime from within the MIDlet and prints it to the console.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.