public class OLESIP2Util extends Object
Constructor and Description |
---|
OLESIP2Util() |
Modifier and Type | Method and Description |
---|---|
static String |
bool2Char(boolean value)
Converts the given boolean to character.
|
static String |
bool2CharEmpty(boolean value)
Converts the given boolean to character.
|
static String |
bool2Int(boolean value)
Converts the given boolean to string.
|
static Currency |
getDefaultCurrency() |
static String |
intToFixedLengthString(int value,
int length)
Converts the given integer to a fixed length string by adding
leading zeros to the given number that its length equals to the
given length.
|
public OLESIP2Util()
public static Currency getDefaultCurrency()
public static String bool2Int(boolean value)
value
- boolean valuepublic static String bool2Char(boolean value)
value
- boolean valuepublic static String bool2CharEmpty(boolean value)
value
- boolean valuepublic static String intToFixedLengthString(int value, int length)
value
- integer value to be convertedlength
- length of the output stringCopyright © 2004–2015 The Kuali Foundation. All rights reserved.