org.qi4j.spi.util
Class SerializationUtil
java.lang.Object
org.qi4j.spi.util.SerializationUtil
public final class SerializationUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
writeMethod
public static void writeMethod(ObjectOutput out,
Method method)
throws IOException
- Throws:
IOException
readMethod
public static Method readMethod(ObjectInput in)
throws IOException,
ClassNotFoundException
- Throws:
IOException
ClassNotFoundException
writeConstructor
public static void writeConstructor(ObjectOutput out,
Constructor constructor)
throws IOException
- Throws:
IOException
readConstructor
public static Constructor readConstructor(ObjectInput in)
throws IOException,
ClassNotFoundException
- Throws:
IOException
ClassNotFoundException
readField
public static Field readField(ObjectInputStream in)
throws IOException,
ClassNotFoundException
- Throws:
IOException
ClassNotFoundException
writeField
public static void writeField(ObjectOutputStream out,
Field field)
throws IOException
- Throws:
IOException