FreeHEP API
Version v1.2

org.freehep.util
Class PackageInfo

java.lang.Object
  |
  +--org.freehep.util.PackageInfo

public class PackageInfo
extends Object

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

Version:
$Id: PackageInfo.java,v 1.1 2001/03/07 17:07:28 duns Exp $
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


FreeHEP API
Version v1.2

Copyright © 2000-2003 FreeHEP, All Rights Reserved.