public class EmailFinder extends AbstractFinder
| Constructor and Description |
|---|
EmailFinder()
Constructor
|
EmailFinder(String strReplacement)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
findOccurrences(String strInputText)
Find one or several occurrences of an entity
|
String |
replaceOccurrences(String strInputText)
Replace all the occurrences of an entity by a replacement text
|
String |
replaceOccurrences(String strInputText,
String strReplacement)
Replace all the occurrences of an entity by a replacement text
|
addEntity, getFoundEntities, getLanguage, getReplacement, setLanguage, setReplacementpublic EmailFinder()
public EmailFinder(String strReplacement)
strReplacement - Replacement stringpublic List<String> findOccurrences(String strInputText) throws FinderException
strInputText - The input textFinderException - If an error occurspublic String replaceOccurrences(String strInputText) throws FinderException
strInputText - The input textFinderException - If an error occurspublic String replaceOccurrences(String strInputText, String strReplacement) throws FinderException
strInputText - The input textstrReplacement - The replacement textFinderException - If an error occursCopyright © 2020 City of Paris. All rights reserved.