java.lang.Object | +--com.ibm.commerce.datatype.DataHelper
DataHelper contains the static methods for data conversion.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT The IBM copyright notice field. |
Constructor Summary | |
---|---|
DataHelper() Creates the Data Helper object. |
Method Summary | |
---|---|
static java.lang.String |
arrayToString(java.lang.String[] array,
java.lang.String sep) Converts a string array to a string with each element of the array separated by the specified separator. |
static java.lang.String[] |
stringToArray(java.lang.String value,
java.lang.String sep) Convert a string with values separated by a separator to an array of strings. |
static java.lang.String |
stringToHexString(java.lang.String iString) Converts a string representing a number in decimal format to a hexadecimal string. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public DataHelper()
Method Detail |
---|
public static java.lang.String arrayToString(java.lang.String[] array, java.lang.String sep)
array
- the array of Strings.public static java.lang.String[] stringToArray(java.lang.String value, java.lang.String sep)
value
- the string to be converted to an arraypublic static java.lang.String stringToHexString(java.lang.String iString)