public class SerializationSupport
extends java.lang.Object
| Constructor and Description |
|---|
SerializationSupport() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.reflect.Method |
readMethod(java.io.ObjectInput in)
Read
Method from binary input stream previously serialized with
writeMethod(Method,ObjectOutput). |
static java.util.List<java.lang.reflect.Method> |
readMethods(java.io.ObjectInput in)
Read list of
Method objects from binary input stream previously serialized with
writeMethods(List,ObjectOutput). |
static void |
writeMethod(java.lang.reflect.Method method,
java.io.ObjectOutput out)
Write
Method to binary output stream. |
static void |
writeMethods(java.util.List<java.lang.reflect.Method> methods,
java.io.ObjectOutput out)
Write list of
Method objects to binary output stream. |
public static final java.lang.reflect.Method readMethod(java.io.ObjectInput in)
throws java.io.IOException
Method from binary input stream previously serialized with
writeMethod(Method,ObjectOutput).in - the input stream to read method fromjava.io.IOException - on IO errorpublic static final java.util.List<java.lang.reflect.Method> readMethods(java.io.ObjectInput in)
throws java.io.IOException
Method objects from binary input stream previously serialized with
writeMethods(List,ObjectOutput).in - the input stream to read method fromjava.io.IOException - on IO errorpublic static final void writeMethod(java.lang.reflect.Method method,
java.io.ObjectOutput out)
throws java.io.IOException
Method to binary output stream.method - the method to writeout - the output stream to write methods tojava.io.IOException - on IO errorpublic static final void writeMethods(java.util.List<java.lang.reflect.Method> methods,
java.io.ObjectOutput out)
throws java.io.IOException
Method objects to binary output stream.methods - the method list to writeout - the output stream to write methods tojava.io.IOException - on IO error