Class FormUtil

java.lang.Object
com.e1c.langtool.v8.dt.form.FormUtil

public final class FormUtil extends Object
The utilities for Form translation.
  • Field Details

  • Method Details

    • parseLinkFromDecorationText

      public static List<Pair<String,Integer>> parseLinkFromDecorationText(String decoration)
      Parses the link from decoration text.
      Parameters:
      decoration - the decoration text containing links, cannot be null.
      Returns:
      the list of link and it's position in string, cannot return null
    • isWebLink

      public static boolean isWebLink(String linkContent)
      Checks if the link content is web link.
      Parameters:
      linkContent - the link content, cannot be null.
      Returns:
      true, if it is web link
    • isEnterpriseLink

      public static boolean isEnterpriseLink(String linkContent)
      Checks if link content is enterprise link.
      Parameters:
      linkContent - the link content, cannot be null.
      Returns:
      true, if it is enterprise link