Package org.apache.jmeter.report.core
Class Converters
java.lang.Object
org.apache.jmeter.report.core.Converters
The class Converters provides converters of string.
- Since:
- 3.0
- 
Method SummaryModifier and TypeMethodDescriptionstatic <T> TConverts the specified value to the destination typestatic <T> StringConverter<T>getConverter(Class<T> clazz) Gets the converter for the specified class.
- 
Method Details- 
getConverterGets the converter for the specified class.- Type Parameters:
- T- the target type
- Parameters:
- clazz- the target class
- Returns:
- the converter
 
- 
convertConverts the specified value to the destination type- Type Parameters:
- T- the target type
- Parameters:
- clazz- the target class
- value- the value to convert
- Returns:
- the converted value
- Throws:
- ConvertException- when the conversion failed
 
 
-