public final class ResourceManagementServiceUtils
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.util.Locale |
getLocale(java.lang.String localeId)
Constructs a new Locale instance from a specific locale
identifier which can either be a two-letter language code or contain a
two-letter language code and a two-letter country code in the form
<language>_<country>.
|
static org.jitsi.service.resources.ResourceManagementService |
getService(org.osgi.framework.BundleContext bundleContext)
Gets the ResourceManagementService instance registered in a
specific BundleContext (if any).
|
public static java.util.Locale getLocale(java.lang.String localeId)
localeId
- the locale identifier describing the new Locale
instance to be createdpublic static org.jitsi.service.resources.ResourceManagementService getService(org.osgi.framework.BundleContext bundleContext)
bundleContext
- the BundleContext to be checked for a
registered ResourceManagementService
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.