public final class ParamConverterUtils extends Object
| Modifier and Type | Method and Description | 
|---|---|
static <T> String | 
getString(Class<T> type,
         javax.ws.rs.ext.ParamConverterProvider provider,
         T value)
Converts the instance of particular type into its string-based representation
 using parameter converter provider and available parameter converter. 
 | 
static <T> T | 
getValue(Class<T> type,
        javax.ws.rs.ext.ParamConverterProvider provider,
        String value)
Converts the string-based representation of the value to the instance of particular type
 using parameter converter provider and available parameter converter. 
 | 
public static <T> T getValue(Class<T> type, javax.ws.rs.ext.ParamConverterProvider provider, String value)
type - type to convert from string-based representationprovider - parameter converter provider to usevalue - the string-based representation to convertpublic static <T> String getString(Class<T> type, javax.ws.rs.ext.ParamConverterProvider provider, T value)
type - type to convert to string-based representationprovider - parameter converter provider to usevalue - the typed instance to convert to string representationApache CXF