com.googlecode.sarasvati.env
Class ByteAttributeConverter
java.lang.Object
com.googlecode.sarasvati.env.AbstractStringValueOfAttributeConverter
com.googlecode.sarasvati.env.ByteAttributeConverter
- All Implemented Interfaces:
- AttributeConverter
public final class ByteAttributeConverter
- extends AbstractStringValueOfAttributeConverter
Attribute converter for String <--> Byte
- Author:
- Paul Lorenz
ByteAttributeConverter
public ByteAttributeConverter()
stringToObject
public Object stringToObject(String string,
Class<?> object)
- Converts the given string to a Byte
- 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)