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
|
String |
getStopWordsFile()
Returns the StopWordsFile
|
void |
setDefaultMessage(String strMessage)
Set the stop message
|
void |
setListStopWords(List<String> list)
Set the list of stop words
|
void |
setMessageI18nKey(List<String> list)
Set the stop messageI18nKey
|
void |
setStopWordsFile(String strStopWordsFile)
Sets the StopWordsFile
|
public void setListStopWords(List<String> list)
list - The listpublic String getStopWordsFile()
public void setStopWordsFile(String strStopWordsFile)
strStopWordsFile - The StopWordsFilepublic void setDefaultMessage(String strMessage)
strMessage - The messagepublic void setMessageI18nKey(List<String> list)
list - The listpublic 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 © 2016 City of Paris. All rights reserved.