org.codehaus.waffle.bind
Interface StringTransmuter
- All Known Implementing Classes:
- DefaultStringTransmuter
public interface StringTransmuter
Not to be confused with the ValueConverter
this interface is used to simplify converting (transmuting) a
String value into a given type.
- Author:
- Michael Ward
Method Summary |
java.lang.Object |
transmute(java.lang.String value,
java.lang.reflect.Type toType)
Convert (transmute) the string value into the Type requested |
transmute
java.lang.Object transmute(java.lang.String value,
java.lang.reflect.Type toType)
- Convert (transmute) the string value into the Type requested
- Parameters:
value
- the String valuetoType
- the Object Type
- Returns:
- The converted Object
Copyright © 2008. All Rights Reserved.