Class TypeConverter

java.lang.Object
org.cxbox.core.util.TypeConverter

public final class TypeConverter extends Object
  • Constructor Details

    • TypeConverter

      public TypeConverter()
  • Method Details

    • toString

      public static String toString(String stringValue)
    • toInteger

      public static Integer toInteger(String stringValue)
    • toLong

      public static Long toLong(String stringValue)
    • toDouble

      public static Double toDouble(String stringValue)
    • toFloat

      public static Float toFloat(String stringValue)
    • toBigDecimal

      public static BigDecimal toBigDecimal(String stringValue)
    • toByte

      public static Byte toByte(String stringValue)
    • toShort

      public static Short toShort(String stringValue)
    • toBoolean

      public static Boolean toBoolean(String stringValue)
    • toLocalDateTime

      public static LocalDateTime toLocalDateTime(String stringValue)
    • toLocalDateTimeTzAware

      public static LocalDateTime toLocalDateTimeTzAware(String stringValue)
    • toSqlTimestamp

      public static Timestamp toSqlTimestamp(String stringValue)
    • toSqlTimestampTzAware

      public static Timestamp toSqlTimestampTzAware(String stringValue)
    • to

      public <T> T to(Class<T> clazz, String stringValue)