public abstract static class Conversions.Converter
extends java.lang.Object
Converter.toString().| Constructor and Description |
|---|
Converter() |
| Modifier and Type | Method and Description |
|---|---|
Blob |
toBinary()
Convert to binary.
|
boolean |
toBoolean()
Convert to boolean.
|
java.util.Calendar |
toCalendar()
Convert to date.
|
java.lang.String |
toDate()
Convert to date.
|
java.math.BigDecimal |
toDecimal()
Convert to decimal.
|
double |
toDouble()
Convert to double.
|
long |
toLong()
Convert to long.
|
abstract java.lang.String |
toString()
Convert to string
|
public abstract java.lang.String toString()
toString in class java.lang.Objectpublic Blob toBinary()
StringBasedBlob.public long toLong()
Long.parseLong(String).java.lang.NumberFormatExceptionpublic double toDouble()
Double.parseDouble(String).java.lang.NumberFormatExceptionpublic java.util.Calendar toCalendar()
ISO8601.parse(String).java.lang.IllegalArgumentException - if the string cannot be parsed into a datepublic java.lang.String toDate()
toCalendar()
and returns the ISO8601.format(Calendar) value of the calendar.java.lang.IllegalArgumentException - if the string cannot be parsed into a datepublic boolean toBoolean()
Boolean.parseBoolean(String).public java.math.BigDecimal toDecimal()
new BigDecimal(String).java.lang.NumberFormatExceptionCopyright © 2010 - 2023 Adobe. All Rights Reserved