org.beangle.commons.conversion.string

Members list

Type members

Classlikes

object BooleanConverter extends Converter[String, Boolean]

Convert String to Boolean.

Convert String to Boolean.

Convert true,on,yes,Y,1 to Boolean.TRUE.
Convert false,off,no,N,0,"" to Boolean.FALSE.

Attributes

Since

3.2.0

Supertypes
trait Converter[String, Boolean]
trait String => Boolean
class Object
trait Matchable
class Any
Self type
object DateConverter extends StringConverterFactory[String, Date]

DateConverter

DateConverter

Attributes

Since

3.2.0

Supertypes
class StringConverterFactory[String, Date]
class ConverterFactory[String, Date]
class Object
trait Matchable
class Any
Show all
Self type
object EnumConverters extends StringConverterFactory[String, Enum]

Convert String to Enumeration.

Convert String to Enumeration.

Attributes

Since

3.2.0

Supertypes
class StringConverterFactory[String, Enum]
class ConverterFactory[String, Enum]
class Object
trait Matchable
class Any
Show all
Self type
object HourMinuteConverter extends Converter[String, HourMinute]

Attributes

Supertypes
trait Converter[String, HourMinute]
trait String => HourMinute
class Object
trait Matchable
class Any
Self type
object JavaEnumConverters extends StringConverterFactory[String, Enum[_]]

Attributes

Supertypes
class StringConverterFactory[String, Enum[_]]
class ConverterFactory[String, Enum[_]]
class Object
trait Matchable
class Any
Show all
Self type
object LocaleConverter extends Converter[String, Locale]

Convert String to Locale.

Convert String to Locale.

Attributes

Since

3.2.0

Supertypes
trait Converter[String, Locale]
trait String => Locale
class Object
trait Matchable
class Any
Self type
object NumberConverters extends StringConverterFactory[String, Number]

Convert string to number.

Convert string to number.

Attributes

Since

3.2.0

Supertypes
class StringConverterFactory[String, Number]
class ConverterFactory[String, Number]
class Object
trait Matchable
class Any
Show all
Self type
class StringConverterFactory[S, R] extends ConverterFactory[S, R]

String to Object

String to Object

Attributes

Since

3.2.0

Supertypes
class ConverterFactory[S, R]
class Object
trait Matchable
class Any
Known subtypes
object DateConverter.type
object EnumConverters.type
object JavaEnumConverters.type
object NumberConverters.type
object TemporalConverter.type
object TemporalConverter extends StringConverterFactory[String, Temporal]

DateConverter

DateConverter

Attributes

Since

3.2.0

Supertypes
class StringConverterFactory[String, Temporal]
class ConverterFactory[String, Temporal]
class Object
trait Matchable
class Any
Show all
Self type
object TimeConverter extends Converter[String, Time]

Convert String to Time.

Convert String to Time.

Convert HH:mm:ss to java.sql.Time
Convert HH:mm to java.sql.Time

Attributes

Since

4.0.3

Supertypes
trait Converter[String, Time]
trait String => Time
class Object
trait Matchable
class Any
Self type
object ToStringConverter extends Converter[AnyRef, String]

Convert Object to String

Convert Object to String

Attributes

Since

3.2.0

Supertypes
trait Converter[AnyRef, String]
trait AnyRef => String
class Object
trait Matchable
class Any
Self type