ResourceManager.getLocaleFileNameFromBase

Overview | Methods | Fields | This Package | All Packages

ResourceManager.getLocaleFileNameFromBase

Determines the localized name of a resource file.

Syntax

public final static String getLocaleFileNameFromBase( Locale locale, String baseName )

Parameters

locale

A Locale object that represents the locale to use.

baseName

The base name of the resource file. For example, the base name of the files "MyResource_enu.resources" and "MyResource_jpn.resources" is "MyResource".

Return Value

Returns the localized file name, including the file extension. For example, "MyResource_enu.resources" and "MyResource_jpn.resources" represent localized file names given the base name "MyResource".