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