ClassUtils.GetPackageName : ClassUtils « Apache Common « Java Tutorial






import org.apache.commons.lang.ClassUtils;

public class MainClass {
  public static void main(String[] args) {
    System.out.println("3) PackageName of a string >>> " +
        ClassUtils.getPackageName("A String", "IfNull"));

  }
}
3) PackageName of a string >>> java.lang
  Download:  CommonLangClassUtilsGetPackageName.zip( 199 k)







37.5.ClassUtils
37.5.1.ClassUtils IsAssignable2
37.5.2.ClassUtils IsAssignable
37.5.3.ClassUtils.GetPackageName
37.5.4.ClassUtils.Get All Superclasses
37.5.5.ClassUtils.GetAllInterfaces