Sorry, wrong list. /Anders
Anders Peterson wrote:
> 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.
>
>..aram aResourcePath the path of the resource, according to the
> resources hierarchy
>..eturn the URL, or null if not found.
>
>..ee #resourcePathsForResources(String, String)
>..ee #resourcePathsForLocalizedResources(String, String)
>
This archive was generated by hypermail 2.0.0 : Fri Mar 21 2003 - 08:18:28 EST