public static String getDomainName(String className)
   {
	   int i = className.indexOf('.');
	   i = className.indexOf('.', i + 1);
	   if (i == -1)
		   return null;
	   return className.substring(0, i);
   }
public static String getDomainName ( String className ) { int i = className . indexOf ( '.' ) ; i = className . indexOf ( '.' , i + 1 ) ; if ( i == - 1 ) return null ; return className . substring ( 0 , i ) ; }
Get the domain name from this package or class name
@param className
@return