Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.osdependent
Class Resources

java.lang.Object
  extended by net.java.sip.communicator.impl.osdependent.Resources

public class Resources
extends Object

The Messages class manages the access to the internationalization properties files.

Author:
Nicolas Chamouard

Constructor Summary
Resources()
           
 
Method Summary
static String getApplicationString(String key)
          Returns the application property string corresponding to the given key.
static ImageIcon getImage(String imageID)
          Loads an image from a given image identifier.
static URL getImageURL(String imageID)
          Loads an image url from a given image identifier.
static char getMnemonic(String key)
          Returns an internationalized string corresponding to the given key.
static ResourceManagementService getResources()
           
static String getString(String key)
          Returns an internationalized string corresponding to the given key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Resources

public Resources()
Method Detail

getString

public static String getString(String key)
Returns an internationalized string corresponding to the given key.

Parameters:
key - The key of the string.
Returns:
An internationalized string corresponding to the given key.

getMnemonic

public static char getMnemonic(String key)
Returns an internationalized string corresponding to the given key.

Parameters:
key - The key of the string.
Returns:
An internationalized string corresponding to the given key.

getImage

public static ImageIcon getImage(String imageID)
Loads an image from a given image identifier.

Parameters:
imageID - The identifier of the image.
Returns:
The image for the given identifier.

getImageURL

public static URL getImageURL(String imageID)
Loads an image url from a given image identifier.

Parameters:
imageID - The identifier of the image.
Returns:
The image url for the given identifier.

getApplicationString

public static String getApplicationString(String key)
Returns the application property string corresponding to the given key.

Parameters:
key - The key of the string.
Returns:
the application property string corresponding to the given key

getResources

public static ResourceManagementService getResources()

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.