Class JavaClassHelper

  • public final class JavaClassHelper
    extends java.lang.Object
    Helper class that filters constants from a Java Class
    • Constructor Summary

      Constructor Description
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.StringBuffer getConstants​(byte[] bytes)
      Get the constants declared in a file as name=value
      • Methods inherited from class java.lang.Object

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

      • JavaClassHelper

        public JavaClassHelper()
    • Method Detail

      • getConstants

        public static java.lang.StringBuffer getConstants​(byte[] bytes)
        Get the constants declared in a file as name=value
        bytes - the class as a array of bytes
        a StringBuffer contains the name=value pairs
        Throws: - if an error occurs