Class CrmUtils


  • public class CrmUtils
    extends Object
    • Constructor Detail

      • CrmUtils

        public CrmUtils()
    • Method Detail

      • convertStringToInt

        public static int convertStringToInt​(String strParameter)
        convert a string to int
        Parameters:
        strParameter - the string parameter to convert
        Returns:
        the conversion
      • addElementHtml

        public static void addElementHtml​(StringBuffer strXmlBuffer,
                                          String strTag,
                                          String strValue)
        Add a CDATA type element to XML document buffer add Empty value if strValue is null
        Parameters:
        strXmlBuffer - The XML document buffer
        strTag - The tag name of the element to add
        strValue - The value of the element