public class Resources
extends java.lang.Object
Constructor and Description |
---|
Resources() |
Modifier and Type | Method and Description |
---|---|
static javax.swing.ImageIcon |
getImage(java.lang.String imageID)
Loads an image from a given image identifier.
|
static char |
getMnemonic(java.lang.String key)
Returns an internationalized string corresponding to the given key.
|
static org.jitsi.service.resources.ResourceManagementService |
getResources()
Returns the ResourceManagementService.
|
static java.lang.String |
getString(java.lang.String key)
Returns an internationalized string corresponding to the given key.
|
static java.lang.String |
getString(java.lang.String key,
java.lang.String[] params)
Returns an internationalized string corresponding to the given key,
by replacing all occurences of '?' with the given string param.
|
public static java.lang.String getString(java.lang.String key)
key
- The key of the string.public static java.lang.String getString(java.lang.String key, java.lang.String[] params)
key
- The key of the string.params
- the params, that should replace {1}, {2}, etc. in the
string given by the key parameterpublic static char getMnemonic(java.lang.String key)
key
- The key of the string.public static javax.swing.ImageIcon getImage(java.lang.String imageID)
imageID
- The identifier of the image.public static org.jitsi.service.resources.ResourceManagementService getResources()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.