public String getResourceClassName ( String strBasePackage , String resourceName ) { if ( resourceName == null ) resourceName = strBasePackage . substring ( strBasePackage . lastIndexOf ( ' ' ) + 1 ) ; strBasePackage = strBasePackage . substring ( 0 , strBasePackage . lastIndexOf ( ' ' ) + 1 ) ; resourceName = Utility . getFullClassName ( null , strBasePackage , resourceName ) ; resourceName = Utility . convertClassName ( resourceName , Constants . RES_SUBPACKAGE ) ; return strBasePackage ; }
Given a class name in the program package get this resource s class name in the res package .