org.freehep.util
Class PackageInfo

java.lang.Object
  extended by org.freehep.util.PackageInfo

public class PackageInfo
extends Object

Methods for Package Info (version, name, ...)

Version:
$Id: PackageInfo.java 8584 2006-08-10 23:06:37Z duns $
Author:
Mark Donszelmann

Method Summary
static String getInfo(Class clazz, String name, String property)
          retrieves the info for the package of this class either from the MANIFEST file or from the given text file situated at the root of the jar file
static String getName(Class clazz, String name)
          retrieves the name
static String getVersion(Class clazz, String name)
          retrieves the version
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getName

public static String getName(Class clazz,
                             String name)
retrieves the name


getVersion

public static String getVersion(Class clazz,
                                String name)
retrieves the version


getInfo

public static String getInfo(Class clazz,
                             String name,
                             String property)
retrieves the info for the package of this class either from the MANIFEST file or from the given text file situated at the root of the jar file



Copyright © 2012. All Rights Reserved.