Class ClassDumper


  • public class ClassDumper
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ClassDumper​(java.lang.String path)  
      ClassDumper​(java.lang.String path, java.io.InputStream in)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void dump​(java.io.PrintStream ps)  
      static void main​(java.lang.String[] args)  
      protected void printHex​(byte[] code)
      We must find Class.forName references ...
      • Methods inherited from class java.lang.Object

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

      • ClassDumper

        public ClassDumper​(java.lang.String path)
                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • ClassDumper

        public ClassDumper​(java.lang.String path,
                           java.io.InputStream in)
                    throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • dump

        public void dump​(java.io.PrintStream ps)
                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • printHex

        protected void printHex​(byte[] code)
        We must find Class.forName references ...
        Parameters:
        code -
      • main

        public static void main​(java.lang.String[] args)
                         throws java.lang.Exception
        Throws:
        java.lang.Exception