Class CrmUtils

java.lang.Object
fr.paris.lutece.plugins.crm.util.CrmUtils

public class CrmUtils extends Object
  • Field Details

  • Constructor Details

    • CrmUtils

      public CrmUtils()
  • Method Details

    • 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