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 TypeMethod and Description
public Object
convert(String value, TypeLiteral<?> toType)

Converts a string value.

Method Detail

convertback to summary
public Object convert(String value, TypeLiteral<?> toType)

Converts a string value. Throws an exception if a conversion error occurs.