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 -> manifestRead a manifest from a jar file (which must end with .jar).
val midlet_main_class : manifest -> stringGet a midlet's main class from the MIDlet-1 attribute of its manifest.
Other functions
val sections : Stdlib.Lexing.lexbuf -> (string * string) list listRead 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 -> manifestInterpret a list of section as a manifest.