org.gjt.lindfors.util
Class Library

java.lang.Object
  extended byorg.gjt.lindfors.util.Library

public class Library
extends java.lang.Object

Collection of miscellaneous utility methods.

For more detailed documentation, refer to the Util Library Developer's Guide

Since:
JDK1.1
Version:
$Revision: 1.1 $
Author:
Juha Lindfors

Method Summary
static java.lang.String getClassName(java.lang.Object obj)
          Returns the class name of an object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getClassName

public static java.lang.String getClassName(java.lang.Object obj)
Returns the class name of an object. This method returns only the name of the class, not a fully qualified class name with package information. For fully qualified class name, use getClass().getName().

Parameters:
obj - object whose class name is wanted
Returns:
object's class name, without package information
See Also:
Object.getClass()