org.openbandy.util
Class StringUtil

java.lang.Object
  extended by org.openbandy.util.StringUtil

public class StringUtil
extends java.lang.Object

This class provides static helper methods to be used with Strings or that deal with Strings.

(c) Copyright P. Bolliger 2007, ALL RIGHTS RESERVED.

Version:
1.0
Author:
Philipp Bolliger (philipp@bolliger.name)

Constructor Summary
StringUtil()
           
 
Method Summary
static java.lang.String getShortClassName(java.lang.Object object)
          Returns the name of the class of the object given as parameter without the prepend package name.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringUtil

public StringUtil()
Method Detail

getShortClassName

public static java.lang.String getShortClassName(java.lang.Object object)
Returns the name of the class of the object given as parameter without the prepend package name.

Parameters:
object - An instance of any object
Returns:
The short (i.e. without package) class name or the empty string if the object is null