Class NofollowLinksFilter

java.lang.Object
org.shredzone.commons.text.filter.NofollowLinksFilter
All Implemented Interfaces:
Function<CharSequence,​CharSequence>, TextFilter

public class NofollowLinksFilter extends Object implements TextFilter
A filter that detects HTML hyperlinks, and adds a rel="nofollow" attribute. This filter can be used to post-process HTML content created by a site visitor, so web crawlers won't follow their links.
Author:
Richard "Shred" Körber