|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.plugin.spellcheck.Resources
public class Resources
The Resources class manages the access to the internationalization properties files and the image resources used in this plugin.
| Field Summary | |
|---|---|
static String |
ADD_WORD_ICON
The add word icon. |
static String |
PERSONAL_DICTIONARY
The personal dictionary icon. |
static String |
PLUGIN_ICON
The spell check plugin icon, shown in the configuration form. |
static String |
WORD_EXCLUDE
The word exclude icon. |
static String |
WORD_INCLUDE
The word include icon. |
| Constructor Summary | |
|---|---|
Resources()
|
|
| Method Summary | |
|---|---|
static ImageIcon |
getFlagImage(String resource)
Loads a flag image from a given image identifier. |
static ImageIcon |
getImage(String imageID)
Loads an image from a given image identifier. |
static byte[] |
getImageInBytes(String imageID)
Loads an image from a given image identifier. |
static ResourceManagementService |
getResources()
Returns the ResourceManagementService through which we obtain resources like images and localized texts. |
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 |
| Field Detail |
|---|
public static final String PLUGIN_ICON
public static final String ADD_WORD_ICON
public static final String PERSONAL_DICTIONARY
public static final String WORD_INCLUDE
public static final String WORD_EXCLUDE
| Constructor Detail |
|---|
public Resources()
| Method Detail |
|---|
public static String getString(String key)
key - The key of the string.
public static ImageIcon getImage(String imageID)
imageID - The identifier of the image.
public static ImageIcon getFlagImage(String resource)
throws IOException
resource - iso code for flag to be retrieved.
IOException - if no such resource is availablepublic static byte[] getImageInBytes(String imageID)
imageID - The identifier of the image.
public static ResourceManagementService getResources()
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||