|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjodd.typeconverter.ByteConverter
public class ByteConverter
Converts given object to Byte. Given object (if not already instance of Byte) is first converted to String and then analyzed.
| Constructor Summary | |
|---|---|
ByteConverter()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
convert(java.lang.Object value)
Converts object received as parameter into object of another class. |
static java.lang.Byte |
valueOf(java.lang.Object value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ByteConverter()
| Method Detail |
|---|
public static java.lang.Byte valueOf(java.lang.Object value)
public java.lang.Object convert(java.lang.Object value)
TypeConverter
If conversion is not possible TypeConversionException should be thrown.
convert in interface TypeConvertervalue - object to convert from
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||