FreeHEP API
Version current

org.freehep.util
Class PackageInfo

java.lang.Object
  extended byorg.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
Source Code:
PackageInfo.java

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 current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.