Class Buildr::Packaging::Java::Manifest
In: lib/buildr/java/packaging.rb  (CVS)
Parent: Object

Methods

each   from_zip   main   new   parse   to_s   update_manifest  

Included Modules

Enumerable

Constants

STANDARD_HEADER = { 'Manifest-Version'=>'1.0', 'Created-By'=>'Buildr' }

Attributes

sections  [R]  The sections of this manifest.

Public Class methods

Parse the MANIFEST.MF entry of a ZIP (or JAR) file and return a new Manifest.

Returns a new Manifest object based on the argument:

Parse a string in MANIFEST.MF format and return a new Manifest.

Updates the MANIFEST.MF entry of a ZIP (or JAR) file. Reads the MANIFEST.MF, yields to the block with the Manifest object, and writes the modified object back to the file.

Public Instance methods

Iterate over each section and yield to block.

The main (first) section of this manifest.

Convert to MANIFEST.MF format.

[Validate]