How to load Classes?

How to retrive the class name during runtime.....

suppose if i select java.lang package , i must get all the classes relating to lang package....

i used reflection API, but using that you can retrive constructor and methods of any class... and i need the classes of perticular package.... how to do it?

Thank You

[338 byte] By [MadhuCMa] at [2007-10-3 4:39:15]
# 1
Must it be in run-time? If no classloader tricks are applied, the whole class path contents could be perused to gain a list of the classes available there even berore running your application.
BIJ001a at 2007-7-14 22:43:10 > top of Java-index,Core,Core APIs...
# 2
Double post! http://forum.java.sun.com/thread.jspa?threadID=767122
BIJ001a at 2007-7-14 22:43:10 > top of Java-index,Core,Core APIs...