public interface Converter
| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
toBigDecimal()
Convert to BigDecimal.
|
Boolean |
toBoolean()
Convert to boolean.
|
Byte |
toByte()
Convert to Byte.
|
Calendar |
toCalendar()
Convert to Calendar.
|
Date |
toDate()
Convert to Date.
|
Double |
toDouble()
Convert to Double.
|
Float |
toFloat()
Convert to Float.
|
Integer |
toInteger()
Convert to Integer.
|
Long |
toLong()
Convert to Long.
|
Short |
toShort()
Convert to Short.
|
Long toLong()
NumberFormatException - if the conversion failsByte toByte()
NumberFormatException - if the conversion failsShort toShort()
NumberFormatException - if the conversion failsInteger toInteger()
NumberFormatException - if the conversion failsDouble toDouble()
NumberFormatException - if the conversion failsFloat toFloat()
NumberFormatException - if the conversion failsCalendar toCalendar()
IllegalArgumentException - if the value cannot be parsed into a calendarDate toDate()
IllegalArgumentException - if the value cannot be parsed into a dateBoolean toBoolean()
BigDecimal toBigDecimal()
NumberFormatException - if the conversion failsCopyright © 2007–2018 The Apache Software Foundation. All rights reserved.