Class ConversionTools
java.lang.Object
de.hybris.platform.sap.b2bsappricing.utils.ConversionTools
Common conversion tools
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringaddLeadingZerosToNumericID(String inputString, int desiredLength) Method adds leading zeros to a numeric string based on a specified total length
-
Constructor Details
-
ConversionTools
public ConversionTools()
-
-
Method Details
-
addLeadingZerosToNumericID
Method adds leading zeros to a numeric string based on a specified total length- Parameters:
inputString- contains the numeric StringdesiredLength- specifies the total desired length of the string- Returns:
- String with leading zeroes appended
-