public class ValueToStringConverters extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
ValueToStringConverters.ValueToString<T>
Simple interface to convert a type to a String.
|
Modifier and Type | Field and Description |
---|---|
static ValueToStringConverters.ValueToString<Boolean> |
FROM_BOOLEAN
Marshalls boolean as a literal 'true' or 'false' string.
|
static ValueToStringConverters.ValueToString<Date> |
FROM_DATE
Marshalls date to an ISO8601 date string.
|
static ValueToStringConverters.ValueToString<Double> |
FROM_DOUBLE |
static ValueToStringConverters.ValueToString<Float> |
FROM_FLOAT |
static ValueToStringConverters.ValueToString<Integer> |
FROM_INTEGER |
static ValueToStringConverters.ValueToString<String> |
FROM_JSON_VALUE_HEADER
Converter for JSON value headers.
|
static ValueToStringConverters.ValueToString<Long> |
FROM_LONG |
static ValueToStringConverters.ValueToString<Short> |
FROM_SHORT |
static ValueToStringConverters.ValueToString<String> |
FROM_STRING
Identity converter.
|
Constructor and Description |
---|
ValueToStringConverters() |
public static final ValueToStringConverters.ValueToString<String> FROM_STRING
public static final ValueToStringConverters.ValueToString<Integer> FROM_INTEGER
public static final ValueToStringConverters.ValueToString<Long> FROM_LONG
public static final ValueToStringConverters.ValueToString<Short> FROM_SHORT
public static final ValueToStringConverters.ValueToString<Float> FROM_FLOAT
public static final ValueToStringConverters.ValueToString<Double> FROM_DOUBLE
public static final ValueToStringConverters.ValueToString<Boolean> FROM_BOOLEAN
public static final ValueToStringConverters.ValueToString<Date> FROM_DATE
public static final ValueToStringConverters.ValueToString<String> FROM_JSON_VALUE_HEADER
Copyright © 2021. All rights reserved.