when given the name of a class, I want to retrieve the binary content of the .class file. I have written the following sample but it does not work.
Can anyone help to find what is wrong with my sample?
Code:
String className = this.getClass().getName();
InputStream inputStream = this.getClass().getResourceAsStream (className);
When executing the above code, the input Stream is always returned as "null".
Thanks
