T
- The normalized form.public interface PropertyConverter<T>
Modifier and Type | Field and Description |
---|---|
static PropertyConverter<Boolean> |
BOOLEAN_CONVERTER
Converts objects to booleans.
|
static PropertyConverter<Class<?>> |
CLASS_CONVERTER
Converts objects to classes.
|
static PropertyConverter<Integer> |
INTEGER_CONVERTER
Converts objects to integers.
|
static PropertyConverter<Object> |
OBJECT_CONVERTER
Converts objects to objects.
|
static PropertyConverter<String> |
STRING_CONVERTER
Converts objects to strings.
|
Modifier and Type | Method and Description |
---|---|
T |
convert(Object o)
Convert the value to normalized form.
|
static final PropertyConverter<String> STRING_CONVERTER
static final PropertyConverter<Integer> INTEGER_CONVERTER
static final PropertyConverter<Boolean> BOOLEAN_CONVERTER
static final PropertyConverter<Class<?>> CLASS_CONVERTER
static final PropertyConverter<Object> OBJECT_CONVERTER
Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.