com.ashridgetech.gen2j.util
Class Utils

java.lang.Object
  |
  +--com.ashridgetech.gen2j.util.Utils

public class Utils
extends Object


Field Summary
protected static char SPACE
           
protected static char UNDERSCORE
           
 
Constructor Summary
Utils()
           
 
Method Summary
static String getClassBasename(Class c)
          Get the name of a class, without the package name
static String getClassBasename(Object o)
          Get the name of an object's class, without the package name
static String getPackageName(Class c)
          Get the name of a class's package, without the class name
static String getPackageName(Object o)
          Get the name of an class's package, without the class name
static String naturalize(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNDERSCORE

protected static char UNDERSCORE

SPACE

protected static char SPACE
Constructor Detail

Utils

public Utils()
Method Detail

naturalize

public static String naturalize(String name)

getClassBasename

public static String getClassBasename(Class c)
Get the name of a class, without the package name

getClassBasename

public static String getClassBasename(Object o)
Get the name of an object's class, without the package name

getPackageName

public static String getPackageName(Class c)
Get the name of a class's package, without the class name

getPackageName

public static String getPackageName(Object o)
Get the name of an class's package, without the class name


Copyright © 2002 Ashridge Technologies Ltd. All Rights Reserved.