@Plugin(name="Byte", category="TypeConverter") public static class TypeConverters.ByteConverter extends java.lang.Object implements TypeConverter<java.lang.Byte>
String
into a Byte
.Constructor and Description |
---|
ByteConverter() |
Modifier and Type | Method and Description |
---|---|
java.lang.Byte |
convert(java.lang.String s)
Converts a String to a given type.
|
public java.lang.Byte convert(java.lang.String s)
TypeConverter
convert
in interface TypeConverter<java.lang.Byte>
s
- the String to convert. Cannot be null
.