module JManifest:sig
..end
Accessing meta-information in jar files.
The type of manifest files:
type
main_section = {
|
manifest_version : |
|
main_attributes : |
type
section = {
|
name : |
|
attributes : |
type
manifest = {
|
main_section : |
|
individual_sections : |
val jar2manifest : string -> manifest
Read a manifest from a jar file (which must end with .jar).
val midlet_main_class : manifest -> string
Get a midlet's main class from the MIDlet-1 attribute of its manifest.
Other functions
val sections : Stdlib.Lexing.lexbuf -> (string * string) list list
Read a list of sections. This function may be used for reading various files from the META-INF directory of a jar file, including the MANIFEST.MF file
val sections2manifest : (string * string) list list -> manifest
Interpret a list of section as a manifest.