Eclipse Platform
Release 3.6

org.eclipse.osgi.service.localization
Interface BundleLocalization


public interface BundleLocalization

The interface of the service that gets ResourceBundle objects from a given bundle with a given locale.

This interface is not intended to be implemented by clients.

Since:
3.1
Restriction:
This interface is not intended to be implemented by clients.

Method Summary
 ResourceBundle getLocalization(Bundle bundle, String locale)
          The getLocalization method gets a ResourceBundle object for the given locale and bundle.
 

Method Detail

getLocalization

ResourceBundle getLocalization(Bundle bundle,
                               String locale)
The getLocalization method gets a ResourceBundle object for the given locale and bundle.

Parameters:
bundle - the bundle to get localization for
locale - the name of the locale to get
Returns:
A ResourceBundle object for the given bundle and locale. If null is passed for the locale parameter, the default locale is used.

Eclipse Platform
Release 3.6

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.