From: Taehoon L. <no...@gm...> - 2008-09-03 06:51:52
|
import java.io.File; import java.lang.reflect.Method; import org.apache.catalina.connector.Request; import org.apache.catalina.connector.Response; public class example { public static void main(String[] args) { try{ Class c=Class.forName("example"); Method[] m=c.getMethods(); for(Method method:m){ System.err.println(method.getReturnType()); } }catch(Exception e ){e.printStackTrace();} } public File invoke(Request a , Response b){ return null; } } |