public class DataFormatHelper extends Object
Modifier and Type | Method and Description |
---|---|
static String |
generateJSONOutputForStrategy(StrategyResult<?> strategyResult)
The utility gives you a JSON string representation of your strategy result
|
static String |
generatePlainTextOutputForStrategy(StrategyResult<?> strategyResult)
Get the Plain Text Output for the comparison-strategy result you want to get If the
strategy-result is inheriting DefaultStrategyResult, then only we will be able to provide you
this output
|
static String |
generateXMLStrategyOutputResult(StrategyResult<?> strategyResult)
The utility gives you a XML string representation of your strategy result
|
static String |
getHTMLTextOutput(OutputConfiguration outputConfiguration,
List<StrategyResult> strategyResults)
Utility to Generate HTML Rich Text Output with Tables
|
public static String getHTMLTextOutput(OutputConfiguration outputConfiguration, List<StrategyResult> strategyResults)
outputConfiguration
- public static String generatePlainTextOutputForStrategy(StrategyResult<?> strategyResult)
strategyResult
- : The argument should be of StrategyResult type The support is only for
DefaultStrategyResult type of comparison-strategy resultpublic static String generateJSONOutputForStrategy(StrategyResult<?> strategyResult)
strategyResult
- You comparison-strategy result, any custom object is supportedStrategyResult
objectpublic static String generateXMLStrategyOutputResult(StrategyResult<?> strategyResult)
strategyResult
- You comparison-strategy result, any custom object is supportedStrategyResult
objectCopyright © 2016–2019. All rights reserved.