public String getClassShortName()
   {
      String longName = getClass().getName();
      int dot = longName.lastIndexOf('.');
      if (dot != -1)
         return longName.substring(dot + 1);
      return longName;
   }
public String getClassShortName ( ) { String longName = getClass ( ) . getName ( ) ; int dot = longName . lastIndexOf ( '.' ) ; if ( dot != - 1 ) return longName . substring ( dot + 1 ) ; return longName ; }
Get the class short name

@return the short name of the class