Class Linkifier
java.lang.Object
com.github.jamesnetherton.zulip.client.api.server.Linkifier
Defines a Zulip linkifier.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns additional RFC 6570 compliant URL template strings used for reverse linkification.Returns an example input string that matches the linkifier's pattern.longgetId()Returns a template using{variable}placeholders that can be used to generate the Markdown linkifier syntax given a URL matching the URL template.
-
Constructor Details
-
Linkifier
public Linkifier()
-
-
Method Details
-
getId
public long getId() -
getPattern
-
getUrlTemplate
-
getExampleInput
Returns an example input string that matches the linkifier's pattern. Required for reverse linkifiers.- Returns:
- example input string, or
nullif not set
-
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
nullif not set
-
getAlternativeUrlTemplates
Returns additional RFC 6570 compliant URL template strings used for reverse linkification.- Returns:
- list of alternative URL templates, never
null
-