Class ZTZipReflectionUtil


  • class ZTZipReflectionUtil
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private ZTZipReflectionUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) static <T> java.lang.Class<? extends T> getClassForName​(java.lang.String name, java.lang.Class<T> clazz)  
      (package private) static java.lang.reflect.Method getDeclaredMethod​(java.lang.Class<?> clazz, java.lang.String methodName, java.lang.Class<?>... parameterTypes)  
      (package private) static java.lang.Object invoke​(java.lang.reflect.Method method, java.lang.Object obj, java.lang.Object... args)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ZTZipReflectionUtil

        private ZTZipReflectionUtil()
    • Method Detail

      • getClassForName

        static <T> java.lang.Class<? extends T> getClassForName​(java.lang.String name,
                                                                java.lang.Class<T> clazz)
      • getDeclaredMethod

        static java.lang.reflect.Method getDeclaredMethod​(java.lang.Class<?> clazz,
                                                          java.lang.String methodName,
                                                          java.lang.Class<?>... parameterTypes)
      • invoke

        static java.lang.Object invoke​(java.lang.reflect.Method method,
                                       java.lang.Object obj,
                                       java.lang.Object... args)
                                throws ZipException
        Throws:
        ZipException