Class Autolink


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

      • Autolink

        public Autolink()
    • Method Detail

      • renderLinks

        @Deprecated
        public static String renderLinks​(CharSequence input,
                                         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