java.lang.Object
com.github.jamesnetherton.zulip.client.api.server.Linkifier

public class Linkifier extends Object
Defines a Zulip linkifier.
  • Constructor Details

    • Linkifier

      public Linkifier()
  • Method Details

    • getId

      public long getId()
    • getPattern

      public String getPattern()
    • getUrlTemplate

      public String getUrlTemplate()
    • getExampleInput

      public String getExampleInput()
      Returns an example input string that matches the linkifier's pattern. Required for reverse linkifiers.
      Returns:
      example input string, or null if not set
    • getReverseTemplate

      public String getReverseTemplate()
      Returns a template using {variable} placeholders that can be used to generate the Markdown linkifier syntax given a URL matching the URL template.
      Returns:
      reverse template string, or null if not set
    • getAlternativeUrlTemplates

      public List<String> getAlternativeUrlTemplates()
      Returns additional RFC 6570 compliant URL template strings used for reverse linkification.
      Returns:
      list of alternative URL templates, never null