Skip navigation links
oracle.jdeveloper.cmt
Class Res
java.lang.Object
java.util.ResourceBundle
oracle.ide.util.ArrayResourceBundle
oracle.jdeveloper.cmt.Res
-
public final class Res
- extends ArrayResourceBundle
Nested classes/interfaces inherited from class java.util.ResourceBundle |
java.util.ResourceBundle.Control |
Fields inherited from class java.util.ResourceBundle |
parent |
Constructor Summary |
Res()
|
Method Summary |
static java.lang.String |
format(int index, java.lang.Object param1)
|
static java.lang.String |
format(int index, java.lang.Object[] params)
|
static java.lang.String |
format(int index, java.lang.Object param1, java.lang.Object param2)
|
static java.lang.String |
format(int index, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3)
|
static char |
getChar(int key)
Gets the character associated with the specified resource id. |
protected java.lang.Object[] |
getContents()
Gets the localizable objects |
static javax.swing.Icon |
getIcon(int key)
|
static java.awt.Image |
getImage(int key)
|
static ArrayResourceBundle |
getInstance()
Gets the singleton instance of this bundle class. |
static java.lang.Integer |
getInteger(int key)
|
static java.lang.String |
getString(int key)
Gets the string associated with the specified resource id. |
Methods inherited from class oracle.ide.util.ArrayResourceBundle |
formatImpl, formatImpl, formatImpl, formatImpl, getAcceleratorImpl, getCharImpl, getFontImpl, getIconImpl, getImageIconImpl, getImageImpl, getIntegerImpl, getKeys, getMnemonicImpl, getObject, getObjectImpl, getStringArray, getStringImpl, getUncachedIconImpl, getUncachedImageImpl, handleGetObject |
Methods inherited from class java.util.ResourceBundle |
clearCache, clearCache, containsKey, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getLocale, getObject, getString, getStringArray, handleKeySet, keySet, setParent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SourceFileNotFound
public static final int SourceFileNotFound
- Identifies keys to access localizable object
- See Also:
- Constant Field Values
FOLDER_ICON
public static final int FOLDER_ICON
-
- See Also:
- Constant Field Values
GENERIC_EVENT
public static final int GENERIC_EVENT
-
- See Also:
- Constant Field Values
ERROR_ICON
public static final int ERROR_ICON
-
- See Also:
- Constant Field Values
WARNING_ICON
public static final int WARNING_ICON
-
- See Also:
- Constant Field Values
INFORMATION_ICON
public static final int INFORMATION_ICON
-
- See Also:
- Constant Field Values
EVENTS
public static final int EVENTS
-
- See Also:
- Constant Field Values
GENERAL_CATEGORY
public static final int GENERAL_CATEGORY
-
- See Also:
- Constant Field Values
VISUAL_CATEGORY
public static final int VISUAL_CATEGORY
-
- See Also:
- Constant Field Values
MODEL_CATEGORY
public static final int MODEL_CATEGORY
-
- See Also:
- Constant Field Values
FOCUS_CATEGORY
public static final int FOCUS_CATEGORY
-
- See Also:
- Constant Field Values
Res
public Res()
getInstance
public static final ArrayResourceBundle getInstance()
- Gets the singleton instance of this bundle class.
getContents
protected java.lang.Object[] getContents()
- Gets the localizable objects
-
- Specified by:
getContents
in class ArrayResourceBundle
-
- Returns:
- the resources of the bundle as an array
getString
public static java.lang.String getString(int key)
- Gets the string associated with the specified resource id. By convention all LRB's should implement a getString static method similar to the one below.
getChar
public static char getChar(int key)
- Gets the character associated with the specified resource id. By convention all LRB's should implement a getChar static method similar to the one below.
getInteger
public static java.lang.Integer getInteger(int key)
format
public static java.lang.String format(int index,
java.lang.Object[] params)
format
public static java.lang.String format(int index,
java.lang.Object param1)
format
public static java.lang.String format(int index,
java.lang.Object param1,
java.lang.Object param2)
format
public static java.lang.String format(int index,
java.lang.Object param1,
java.lang.Object param2,
java.lang.Object param3)
getIcon
public static javax.swing.Icon getIcon(int key)
getImage
public static java.awt.Image getImage(int key)
Skip navigation links
Copyright © 1997, 2015, Oracle. All rights reserved.