guice 7.0.0
com.google.inject.spi
TypeConverter
Top
Description
Methods
com.google.inject.spi
public
Interface TypeConverter
Imports
com.
google.
inject.
TypeLiteral
Converts constant string values to a different type.
Author
[email protected]
(Bob Lee)
Since
2.0
Method Summary
Modifier and Type
Method and Description
public
Object
convert
(
String
value,
TypeLiteral
<?> toType
)
Converts a string value.
Method Detail
convert
back to summary
public
Object
convert
(
String
value,
TypeLiteral
<?> toType
)
Converts a string value. Throws an exception if a conversion error occurs.