File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Getting Class information Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic

Getting Class information

Andy Peter

Joined: Feb 12, 2002
Posts: 12
I have the absolute path to a Java Class File.
For this Class I need to find information like the methods/package information/ etc.
Which is the cleanest and easiest way to do this. Can some one explain this or point to any examples?
Jim Yingst

Joined: Jan 30, 2000
Posts: 18671
Since this is duplicated in Intermediate here, I'm closing this thread. (Otherwise people waste time rplying to things that have already been answered.) Folks can still add to the answer in Intermediate if they wish, of course...

"I'm not back." - Bill Harding, Twister
Consider Paul's rocket mass heater.
subject: Getting Class information
It's not a secret anymore!