net.jbeans.lang.reflect
Class MethodUtil

java.lang.Object
  extended bynet.jbeans.lang.reflect.MethodUtil

public class MethodUtil
extends java.lang.Object

MethodUtil is a utility class, which serialize the java.lang.reflect.Method object.

Version:
$Revision: 1.1.1.1 $
Author:
Masahiro Takatsuka (masa@jbeans.net)

Method Summary
static java.lang.reflect.Method readMethod(java.io.ObjectInputStream s)
          Read serialized information and re-construct a method object.
static void writeMethod(java.lang.reflect.Method method, java.io.ObjectOutputStream s)
          Writes all pieces of information required to re-construct Method object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

writeMethod

public static final void writeMethod(java.lang.reflect.Method method,
                                     java.io.ObjectOutputStream s)
                              throws java.io.IOException
Writes all pieces of information required to re-construct Method object.

Throws:
java.io.IOException

readMethod

public static final java.lang.reflect.Method readMethod(java.io.ObjectInputStream s)
                                                 throws java.lang.ClassNotFoundException,
                                                        java.io.IOException
Read serialized information and re-construct a method object.

Throws:
java.lang.ClassNotFoundException
java.io.IOException


Copyright © 2003 JBean project. All Rights Reserved.