Class SmilyFilter

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

public class SmilyFilter extends Object implements TextFilter
A filter that detects smily sequences, and replaces them with an image. The filter tries to find the best match by the string length of the smily code, so it can safely distinguish between smilies like ":-)" and ":-))".
Author:
Richard "Shred" Körber