public class ConversionTools
extends java.lang.Object
| Constructor and Description |
|---|
ConversionTools() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
addLeadingZerosToNumericID(java.lang.String inputString,
int desiredLength)
Method adds leading zeros to a numeric string based on a specified total length
|
protected java.lang.String |
convertProductCode(java.lang.String ProductCode)
Converted the product code to the internal format.
|
static java.lang.Long |
convertQuantityToNumber(java.lang.String quantity)
Since the format of the quantity is xxx,yyy we need to reparse the string.
|
public static java.lang.String addLeadingZerosToNumericID(java.lang.String inputString,
int desiredLength)
inputString - contains the numeric StringdesiredLength - specifies the total desired length of the stringpublic static java.lang.Long convertQuantityToNumber(java.lang.String quantity)
protected java.lang.String convertProductCode(java.lang.String ProductCode)
ProductCode - Copyright © 2018 SAP SE. All Rights Reserved.