Class EmailScanner
java.lang.Object
org.nibor.autolink.internal.EmailScanner
- All Implemented Interfaces:
Scanner
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
EmailScanner
public EmailScanner(boolean domainMustHaveDot)
-
-
Method Details
-
scan
- Specified by:
scanin interfaceScanner- Parameters:
input- input texttriggerIndex- the index at which the trigger character for this scanner wasrewindIndex- the index that can maximally be rewound to (either the very first character of the input or the character after the last matched link) need to be set to be set here- Returns:
- the matched link, or
nullif no link matched
-