| Package | Description |
|---|---|
| com.twelvemonkeys.util.convert |
| Modifier and Type | Class and Description |
|---|---|
class |
MissingTypeException
This exception may be thrown by
PropertyConverters, if a conversion is
attempted without type (class). |
class |
NoAvailableConverterException
This exception may be thrown by
PropertyConverters, if a conversion
is attempted for a type (class), that has no registered PropertyConverter. |
class |
TypeMismathException
This exception may be thrown by
PropertyConverters, if a conversion
is attempted on the wrong type (class). |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
Converter.toObject(java.lang.String pString,
java.lang.Class pType)
Converts the string to an object of the given type.
|
java.lang.Object |
DefaultConverter.toObject(java.lang.String pString,
java.lang.Class pType,
java.lang.String pFormat)
Converts the string to an object of the given type.
|
abstract java.lang.Object |
Converter.toObject(java.lang.String pString,
java.lang.Class pType,
java.lang.String pFormat)
Converts the string to an object of the given type, parsing after the
given format.
|
java.lang.Object |
DateConverter.toObject(java.lang.String pString,
java.lang.Class pType,
java.lang.String pFormat)
Converts the string to a date, using the given format for parsing.
|
java.lang.Object |
PropertyConverter.toObject(java.lang.String pString,
java.lang.Class pType,
java.lang.String pFormat)
Converts the string to an object, using the given format for parsing.
|
java.lang.Object |
NumberConverter.toObject(java.lang.String pString,
java.lang.Class pType,
java.lang.String pFormat)
Converts the string to a number, using the given format for parsing.
|
java.lang.Object |
TimeConverter.toObject(java.lang.String pString,
java.lang.Class pType,
java.lang.String pFormat)
Converts the string to a time, using the given format for parsing.
|
java.lang.String |
Converter.toString(java.lang.Object pObject)
Converts the object to a string, using
object.toString() |
java.lang.String |
DefaultConverter.toString(java.lang.Object pObject,
java.lang.String pFormat)
Converts the object to a string, using
pObject.toString(). |
abstract java.lang.String |
Converter.toString(java.lang.Object pObject,
java.lang.String pFormat)
Converts the object to a string, using
object.toString() |
java.lang.String |
DateConverter.toString(java.lang.Object pObject,
java.lang.String pFormat)
Converts the object to a string, using the given format
|
java.lang.String |
PropertyConverter.toString(java.lang.Object pObject,
java.lang.String pFormat)
Converts the object to a string, using the given format
|
java.lang.String |
NumberConverter.toString(java.lang.Object pObject,
java.lang.String pFormat)
Converts the object to a string, using the given format
|
java.lang.String |
TimeConverter.toString(java.lang.Object pObject,
java.lang.String pFormat)
Converts the object to a string, using the given format
|
Copyright © 2018. All Rights Reserved.