de.smartics.exceptions.i18n
Interface BundleProvider

Package class diagram package BundleProvider
All Known Implementing Classes:
ClassPathBundleProvider

public interface BundleProvider

Provides access to resource bundles for localizing message texts.

Author:
Robert Reiner

Method Summary
 ResourceBundle getBundle(Locale locale, ClassLoader loader, String bundleBaseName)
          Returns the requested bundle.
 

Method Detail

getBundle

ResourceBundle getBundle(Locale locale,
                         ClassLoader loader,
                         String bundleBaseName)
                         throws MissingResourceException
Returns the requested bundle.

Parameters:
locale - the locale to select the localized information.
loader - the class loader to use.
bundleBaseName - the base name of the bundle to fetch.
Returns:
the requested bundle.
Throws:
MissingResourceException - if there is no suitable bundle with the given base name.


Copyright © 2007-null Kronseder & Reiner GmbH - smartics. All Rights Reserved.