API Overview API Index Package Overview Direct link to this page
Apache Ant 1.7.1
  org.apache.tools.zip. JarMarker View Source
Author(s)
Since
Ant 1.6.3
Version
Serial
Hierarchy
 Object
      JarMarker
Implements
 ZipExtraField
Subclasses
Description
publicfinal class JarMarker
  If this extra field is added as the very first extra field of the archive, Solaris will consider it an executable jar file.
See also:   
Constructors
public JarMarker ()
No-arg constructor
Methods
Hide/Show inherited methods
public byte getCentralDirectoryData () [Specified in ZipExtraField]
  The actual data to put central directory - without Header-ID or length specifier.
public ZipShort getCentralDirectoryLength () [Specified in ZipExtraField]
  Length of the extra field in the central directory - without Header-ID or length specifier.
public ZipShort getHeaderId () [Specified in ZipExtraField]
  The Header-ID.
publicstatic JarMarker getInstance ()
  Since JarMarker is stateless we can always use the same instance.
public byte getLocalFileDataData () [Specified in ZipExtraField]
  The actual data to put into local file data - without Header-ID or length specifier.
public ZipShort getLocalFileDataLength () [Specified in ZipExtraField]
  Length of the extra field in the local file data - without Header-ID or length specifier.
public void parseFromLocalFileData (byte[] data, int offset, int length) throws java.util.zip.ZipException [Specified in ZipExtraField]
  Populate data from this array as if it was in local file data.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar