public interface

TypeConverter

com.google.inject.spi.TypeConverter

Class Overview

Converts constant string values to a different type.

Summary

Public Methods
abstract Object convert(String value, TypeLiteral<?> toType)
Converts a string value.

Public Methods

public abstract Object convert (String value, TypeLiteral<?> toType)

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