Class Autolink


  • public class Autolink
    extends java.lang.Object
    Utility class for processing text with links.
    • Constructor Detail

      • Autolink

        public Autolink()
    • Method Detail

      • renderLinks

        @Deprecated
        public static java.lang.String renderLinks​(java.lang.CharSequence input,
                                                   java.lang.Iterable<LinkSpan> links,
                                                   LinkRenderer linkRenderer)
        Render the supplied links from the supplied input text using a renderer. The parts of the text outside of links are added to the result without processing.
        Parameters:
        input - the input text, must not be null
        links - the links to render, see LinkExtractor to extract them
        linkRenderer - the link rendering implementation
        Returns:
        the rendered string