|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tika.utils.RegexUtils
public class RegexUtils
Inspired from Nutch code class OutlinkExtractor. Apply regex to extract content
Constructor Summary | |
---|---|
RegexUtils()
|
Method Summary | |
---|---|
static java.util.List<java.lang.String> |
extractLinks(java.lang.String content)
Extract urls from plain text. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RegexUtils()
Method Detail |
---|
public static java.util.List<java.lang.String> extractLinks(java.lang.String content)
content
- The plain text content to examine
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |