Reflect this
1 posts in topic
Flat View  Flat View

Posted By:   Leo_Gimelfarb
Posted On:   Wednesday, October 30, 2002 02:53 PM

how do i programatically list all classes within a package ??

Re: Reflect this

Posted By:   Stephen_Ostermiller  
Posted On:   Thursday, October 31, 2002 10:47 AM

Classes can be delivered over the interent. (IE each class can be a file served by a web server.)

Since there is no way to list all the files on a web server, there is no way to list all the classes in a package.

In some cases you might be able to find the directory that has the class files for the package and list all the class files in that directory. To do so, you would have to deal with file systems, and jar files. Also you would have to accept that there are times when it is not possible.

About | Sitemap | Contact