| java.lang.Object | |
| ↳ | com.microstrategy.utils.SDKHelper |
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| SDKHelper() | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| static int |
fixInt(RequestKeys rk, String param, int defaultValue, boolean isZeroLengthValid)
Transforms the string sent as parameter into an
int value. | ||||||||||
| static int |
fixInt(String fixedValue, int defaultValue)
Transforms the string sent as parameter into an
int value. | ||||||||||
| static String | getInboxMessageExpiredDisplayMessage(ResultSetBean bean) | ||||||||||
| static String | getInboxMessageExpiredDisplayMessage(String message, String objType) | ||||||||||
| static String |
localizeDouble(String doubleValue, String localeID)
Converts a double to the specified locale
| ||||||||||
| static String |
localizeDoubleToEnglish(String doubleValue)
Converts a double to English locale
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Transforms the string sent as parameter into an int value.
| rk | RequestKeys object initialized |
|---|---|
| param | String containing the name of the parameter to search for |
| defaultValue | String with the default value of the parameter |
| isZeroLengthValid | boolean flag indicating if the value of the parameter can be zero-length |
Transforms the string sent as parameter into an int value.
| fixedValue | String containing the value to transform into an integer |
|---|---|
| defaultValue | int with the default value of the parameter |
int. If an error is generated while the
conversion the default value will be used.
Converts a double to the specified locale
| doubleValue | value to localize |
|---|---|
| localeID | locale to localize to |
Converts a double to English locale
| doubleValue | value to localize |
|---|