public class TwitterURLExtractor extends Object implements MultiFunction<twitter4j.Status,URL>
Status
objects to extract all the mentioned URLs. URLs are extracted from both the
entities field and the Tweet message body (by applying a regular expression).| Constructor and Description |
|---|
TwitterURLExtractor() |
| Modifier and Type | Method and Description |
|---|---|
List<URL> |
apply(twitter4j.Status status)
Apply the function to the input argument and return the result(s).
|
public TwitterURLExtractor()
public List<URL> apply(twitter4j.Status status)
MultiFunctionapply in interface MultiFunction<twitter4j.Status,URL>status - the input object