This question already has an answer here:
I am looking to find a solution which will allow me to import a package into an existing Java Workspace and print out the contents of each class in that workspace into a .txt file. I will then use a BufferedReader to read the contents of the .txt file into another program.
In trying to find a solution for this problem I have came across the technique of Java Reflection and wondering if it is possible to solve my problem using this technique? Please advise!
Aucun commentaire:
Enregistrer un commentaire