private static String getPackageName ( String className ) { int end = className . lastIndexOf ( ' ' ) ; return ( end > 0 ) ? className . substring ( 0 , end ) : "" ; }
Return the package name of a given class name