com.googlecode.sarasvati.env
Class CharacterAttributeConverter
java.lang.Object
com.googlecode.sarasvati.env.AbstractStringValueOfAttributeConverter
com.googlecode.sarasvati.env.CharacterAttributeConverter
- All Implemented Interfaces:
- AttributeConverter
public final class CharacterAttributeConverter
- extends AbstractStringValueOfAttributeConverter
Attribute converter for String <--> Character
- Author:
- Paul Lorenz
CharacterAttributeConverter
public CharacterAttributeConverter()
stringToObject
public Object stringToObject(String string,
Class<?> object)
- Converts the given string to a Character
- Parameters:
string
- The string to be converted into an objectobject
- The type to transform the string into
- Returns:
- The object produced from the string
- See Also:
AttributeConverter.stringToObject(java.lang.String, java.lang.Class)