Class ConversionTools
java.lang.Object
de.hybris.platform.sap.sappricingbol.converter.ConversionTools
Common conversion tools
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringaddLeadingZerosToNumericID(String inputString, int desiredLength) Method adds leading zeros to a numeric string based on a specified total lengthstatic StringgetR3LanguageCode(String langu) Return the single character r3 language code for a given String.
-
Method Details
-
getR3LanguageCode
Return the single character r3 language code for a given String.- Parameters:
langu- aStringvalue- Returns:
- a
the language in R/3 format. Case sensitive!value
-
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
-