mk.fsgrep.util
Class ManifestProperties

java.lang.Object
  extended by mk.fsgrep.util.ManifestProperties

public class ManifestProperties
extends java.lang.Object

A utilty that extracts metadata from the JAR manifest. It is created by passing in a class from the desired jar (since there could be multiple jars on the classpath, and thus multiple manifests).

Author:
murali

Field Summary
static java.lang.String UNDEFINED
           
 
Constructor Summary
ManifestProperties(java.lang.Class pReferenceClass)
           
 
Method Summary
 java.lang.String getBuildTime()
           
 java.lang.String getLicense()
           
 java.lang.String getProjectDescription()
           
 java.lang.String getProjectName()
           
 java.lang.String getProjectVersion()
           
static void main(java.lang.String[] args)
           
 java.lang.String toAboutString()
           
 java.lang.String toCopyrightString()
           
 java.lang.String toProjectSummaryString()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UNDEFINED

public static final java.lang.String UNDEFINED
See Also:
Constant Field Values
Constructor Detail

ManifestProperties

public ManifestProperties(java.lang.Class pReferenceClass)
Method Detail

getProjectName

public java.lang.String getProjectName()

getProjectVersion

public java.lang.String getProjectVersion()

getBuildTime

public java.lang.String getBuildTime()

getProjectDescription

public java.lang.String getProjectDescription()

getLicense

public java.lang.String getLicense()

toCopyrightString

public java.lang.String toCopyrightString()

toProjectSummaryString

public java.lang.String toProjectSummaryString()

toAboutString

public java.lang.String toAboutString()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

main

public static void main(java.lang.String[] args)


Copyright © 2009. All Rights Reserved.