public String getResourcePath(String strResourceName)
    {
        if (strResourceName == null)
            strResourceName = THIN_RES_PATH + "Menu"; // ResourceConstants.MENU_RESOURCE;
        if ((!strResourceName.endsWith(RESOURCES))
            && (!strResourceName.endsWith(BUNDLE))
                && (!strResourceName.endsWith(PROPERTIES)))
                    strResourceName = strResourceName + "Resources";
        if (strResourceName.indexOf('.') == -1)
            strResourceName = getResPackage() + strResourceName;
        if (strResourceName.indexOf('.') == 0)
            strResourceName = Constants.ROOT_PACKAGE + strResourceName.substring(1);
        return strResourceName;
    }
public String getResourcePath ( String strResourceName ) { if ( strResourceName == null ) strResourceName = THIN_RES_PATH + "Menu" ; if ( ( ! strResourceName . endsWith ( RESOURCES ) ) && ( ! strResourceName . endsWith ( BUNDLE ) ) && ( ! strResourceName . endsWith ( PROPERTIES ) ) ) strResourceName = strResourceName + "Resources" ; if ( strResourceName . indexOf ( '.' ) == - 1 ) strResourceName = getResPackage ( ) + strResourceName ; if ( strResourceName . indexOf ( '.' ) == 0 ) strResourceName = Constants . ROOT_PACKAGE + strResourceName . substring ( 1 ) ; return strResourceName ; }
Fix this resource name to point to the resources.
@param strResourceName The name to fix.
@return The full class name of the resource to get.