public class Converter extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Converter.ValueRejectedException |
static class |
Converter.ValuesRejectedException |
| Modifier and Type | Method and Description |
|---|---|
<T> List<T> |
convert(List<String> values,
Class<T> expectedClass) |
<T> T |
convert(String value,
Class<T> expectedClass) |
Date |
convertToDate(String value) |
boolean |
equals(Object obj) |
int |
hashCode() |
static Converter |
withDateFormat(String dateFormat,
OnTypeMismatch onTypeMismatch) |
static Converter |
withTypeMismatchBehaviour(OnTypeMismatch onTypeMismatch) |
public static final Converter DEFAULT
public static Converter withDateFormat(String dateFormat, OnTypeMismatch onTypeMismatch)
public static Converter withTypeMismatchBehaviour(OnTypeMismatch onTypeMismatch)
Copyright © 2014–2017. All rights reserved.