Where are the pathURLForResourceNamed methods introduced with WO5.2.1?

From: Anders Peterson (anders_peterso..ptimatika.se)
Date: Fri Mar 21 2003 - 08:12:53 EST

  • Next message: Anders Peterson: "Re: Where are the pathURLForResourceNamed methods introduced with WO5.2.1?"

    I can't find them!

    The description of pathURLForResourceNamed in NSBundle is wrong. It
    seems they're actually talking about pathURLForResourcePath.

    /Anders

     From the release notes:

    In WOResourceManager, pathURLForResourceNamed() was introduced and its
    usage is as follows:

    public java.net.URL pathURLForResourceNamed(String aResourceName,
    String aFrameworkName, NSArray aLanguagesList)

    In NSBundle, pathURLForResourceNamed() was introduced and its usage is
    as follows:

    public java.net.URL pathURLForResourceNamed(String aResourceName,
    String aFrameworkName, NSArray aLanguagesList)

    Returns an URL representing the resource specified by aResourcePath.

    The resource path must be specified relative to the top level of the
    resources hierarchy, that is, the directory containing the language
    subdirectories. It is usually returned from resourcePathsForResources
    or resourcePathsForLocalizedResources.

    Note: The resource path for a resource is not the same as its file
    system path.

    See "Determining Available Resources" in the class description for more
    information about resource paths.

    @param aResourcePath the path of the resource, according to the
    resources hierarchy
    @return the URL, or null if not found.

    @see #resourcePathsForResources(String, String)
    @see #resourcePathsForLocalizedResources(String, String)



    This archive was generated by hypermail 2.0.0 : Fri Mar 21 2003 - 08:16:56 EST