public class StopOnWordFilter extends Object implements ResponseFilter
| Constructor and Description |
|---|
StopOnWordFilter() |
| Modifier and Type | Method and Description |
|---|---|
String |
filterResponse(String strResponse,
Locale locale,
Map mapData)
Analyzes the response and formats it.
|
List<String> |
getListStopWords()
Get the list of stop words
|
void |
setListStopWords(List<String> list)
Set the list of stop words
|
void |
setMapLocaleResponseMessageFile(Map<String,String> map)
Set Map Locale / Messages File
|
void |
setMapLocaleStopWordsFile(Map<String,String> map)
Set Map Locale / Stop Words File
|
public List<String> getListStopWords()
public void setMapLocaleStopWordsFile(Map<String,String> map)
map - The mappublic void setListStopWords(List<String> list)
list - The listpublic void setMapLocaleResponseMessageFile(Map<String,String> map)
map - The mappublic String filterResponse(String strResponse, Locale locale, Map mapData) throws ResponseProcessingException
filterResponse in interface ResponseFilterstrResponse - The responselocale - The localemapData - The map of dataResponseProcessingException - if an exception occurs during processingCopyright © 2017 City of Paris. All rights reserved.