public class PhoneNumberFinder extends AbstractFinder
| Constructor and Description |
|---|
PhoneNumberFinder()
Constructor
|
PhoneNumberFinder(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 PhoneNumberFinder()
public PhoneNumberFinder(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.