public class InputStringResponseProcessor extends Object implements ResponseProcessor
| Constructor and Description |
|---|
InputStringResponseProcessor() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCustomPattern()
Returns the CustomPattern
|
String |
getPatternErrorMessage()
Returns the PatternErrorMessage
|
String |
getPatternErrorMessageI18nKey()
Returns the PatternErrorMessageI18nKey
|
String |
getStandardPattern()
Returns the StandardPattern
|
String |
processResponse(String strResponse,
Locale locale,
Map mapData)
Analyzes the response and formats it.
|
void |
setCustomPattern(String strCustomPattern)
Sets the CustomPattern
|
void |
setPatternErrorMessage(String strPatternErrorMessage)
Sets the PatternErrorMessage
|
void |
setPatternErrorMessageI18nKey(String strPatternErrorMessageI18nKey)
Sets the PatternErrorMessageI18nKey
|
void |
setStandardPattern(String strStandardPattern)
Sets the StandardPattern
|
public String getStandardPattern()
public void setStandardPattern(String strStandardPattern)
strStandardPattern - The StandardPatternpublic String getCustomPattern()
public void setCustomPattern(String strCustomPattern)
strCustomPattern - The CustomPatternpublic String getPatternErrorMessage()
public void setPatternErrorMessage(String strPatternErrorMessage)
strPatternErrorMessage - The PatternErrorMessagepublic String getPatternErrorMessageI18nKey()
public void setPatternErrorMessageI18nKey(String strPatternErrorMessageI18nKey)
strPatternErrorMessageI18nKey - The PatternErrorMessageI18nKeypublic String processResponse(String strResponse, Locale locale, Map mapData) throws InvalidResponseException
processResponse in interface ResponseProcessorstrResponse - The responselocale - The localemapData - The map of dataInvalidResponseExceptionCopyright © 2017 City of Paris. All rights reserved.