org.apache.commons.convert
Class NumberConverters.StringToByte
java.lang.Object
org.apache.commons.convert.AbstractConverter<String,Byte>
org.apache.commons.convert.NumberConverters.StringToByte
- All Implemented Interfaces:
- Converter<String,Byte>, ConverterLoader
- Enclosing class:
- NumberConverters
public static class NumberConverters.StringToByte
- extends AbstractConverter<String,Byte>
An object that converts a String
to a
Byte
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NumberConverters.StringToByte
public NumberConverters.StringToByte()
convert
public Byte convert(String obj)
throws ConversionException
- Description copied from interface:
Converter
- Converts
obj
to T
.
- Parameters:
obj
- The source Object
to convert
- Returns:
- The converted
Object
- Throws:
ConversionException
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.