Package com.optimaize.langdetect.text
Class UrlTextFilter
- java.lang.Object
-
- com.optimaize.langdetect.text.UrlTextFilter
-
- All Implemented Interfaces:
TextFilter
public class UrlTextFilter extends Object implements TextFilter
Removes URLs and email addresses from the text.- Author:
- Fabian Kessler
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
filter(CharSequence text)
static UrlTextFilter
getInstance()
-
-
-
Method Detail
-
getInstance
public static UrlTextFilter getInstance()
-
filter
public String filter(CharSequence text)
- Specified by:
filter
in interfaceTextFilter
-
-