xxl.io
Class ConvertableConverter
java.lang.Object
|
+--xxl.io.Converter
|
+--xxl.io.ConvertableConverter
- public class ConvertableConverter
- extends Converter
This class is a wrapper for Objects that implement
the Convertable-interface.
|
Method Summary |
java.lang.Object |
read(java.io.DataInput dataInput,
java.lang.Object object)
|
int |
sizeOf(java.lang.Object o)
|
int |
write(java.io.DataOutput dout,
java.lang.Object object)
|
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
PROTOTYPE
public static final ConvertableConverter PROTOTYPE
function
protected Function function
ConvertableConverter
public ConvertableConverter()
ConvertableConverter
public ConvertableConverter(Function function)
read
public java.lang.Object read(java.io.DataInput dataInput,
java.lang.Object object)
throws java.io.IOException
- Overrides:
- read in class Converter
write
public int write(java.io.DataOutput dout,
java.lang.Object object)
throws java.io.IOException
- Overrides:
- write in class Converter
sizeOf
public int sizeOf(java.lang.Object o)
- Overrides:
- sizeOf in class Converter