Skip navigation links
com.essbase.eas.i18n
Class ValueTranslator
java.lang.Object
com.essbase.eas.i18n.ValueTranslator
-
public abstract class ValueTranslator
- extends java.lang.Object
- Version:
- 1.0
- Author:
- Hank Cox, Joe Fernandez
Field Summary |
protected java.lang.Object[][] |
data
|
Method Summary |
java.lang.String |
getStringForValue(java.lang.Long value)
Given a UI string, this method returns the value it represents (usually an Essbase value). |
java.lang.String[] |
getStringList()
Gets a list of the available strings for the UI |
java.lang.Long |
getValueForString(java.lang.String value)
Given a value (usually an Essbase value), this method returns the string that is displayed in the user interface |
protected void |
initialize(java.util.ResourceBundle b, java.lang.String[] keys)
This method instantiates the object. |
int |
length()
Returns the number of keys stored in this object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
data
protected java.lang.Object[][] data
ValueTranslator
protected ValueTranslator()
initialize
protected void initialize(java.util.ResourceBundle b,
java.lang.String[] keys)
- This method instantiates the object. This method should be called by the classes derived from it.
-
- Parameters:
r
- - resource bundle to use.
length
public int length()
- Returns the number of keys stored in this object
getStringForValue
public java.lang.String getStringForValue(java.lang.Long value)
- Given a UI string, this method returns the value it represents (usually an Essbase value).
getValueForString
public java.lang.Long getValueForString(java.lang.String value)
- Given a value (usually an Essbase value), this method returns the string that is displayed in the user interface
getStringList
public java.lang.String[] getStringList()
- Gets a list of the available strings for the UI
Skip navigation links
Copyright © 2001, 2007, Oracle. All rights reserved.