Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.swtbot.swt.finder.utils
Class ClassUtils

    java.lang.Object
      org.eclipse.swtbot.swt.finder.utils.ClassUtils

    public abstract class ClassUtils

extends Object

A utility for class based work.

Version:
  $Id$
Author:
  Ketan Padegaonkar <KetanPadegaonkar [at] gmail [dot] com>

Constructor Summary
`ClassUtils()`

Method Summary
`static String` | `simpleClassName(Class<?> clasz)` Gets the simple class name for the given class.
`static String` | `simpleClassName(Object object)` Gets the simple class name of an object or an empty string if not valid.
`static String` | `simpleClassName(String claszName)` Gets the simple class name for the given class.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ClassUtils

    public ClassUtils()

Method Detail

### simpleClassName

    public static String simpleClassName(Object object)

  Gets the simple class name of an object or an empty string if not valid.

  Parameters:
    `object` - the object
  Returns:
    the classname of the object or an empty string.

### simpleClassName

    public static String simpleClassName(Class<?> clasz)

  Gets the simple class name for the given class.

  Parameters:
    `clasz` - the class
  Returns:
    the classname of the clasz

### simpleClassName

    public static String simpleClassName(String claszName)

  Gets the simple class name for the given class.

  Parameters:
    `claszName` - the class
  Returns:
    the classname of the clasz
  Since:
    2.0

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD