com.allen_sauer.gwt.dnd.client.util
Class StringUtil

java.lang.Object
  extended by com.allen_sauer.gwt.dnd.client.util.StringUtil

public class StringUtil
extends java.lang.Object

Shared String utility methods.


Constructor Summary
StringUtil()
           
 
Method Summary
static java.lang.String getShortTypeName(java.lang.Class<?> clazz)
          Determined a short name from a class.
static java.lang.String getShortTypeName(java.lang.Object obj)
          Return short classname of obj.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringUtil

public StringUtil()
Method Detail

getShortTypeName

public static java.lang.String getShortTypeName(java.lang.Class<?> clazz)
Determined a short name from a class.

Parameters:
clazz - the Java class
Returns:
a short name for the class

getShortTypeName

public static java.lang.String getShortTypeName(java.lang.Object obj)
Return short classname of obj.

Parameters:
obj - the object whose name is to be determined
Returns:
the short class name


Copyright © 2011 Sage Software, Inc. All rights reserved.