public static String getResourcePathFor ( CharSequence name , Object obj ) { if ( obj == null ) throw new NullPointerException ( "obj is null" ) ; return getResourcePathFor ( name , obj . getClass ( ) ) ; }
Gets a resource path using obj s class s package name as the prefix .