Article View: borland.public.jbuilder.java.api
Article #1477Re: How to find all Classes in a Package?
From: Tor Iver Wilhelmsen
Date: Mon, 17 Dec 2001 11:44
Date: Mon, 17 Dec 2001 11:44
10 lines
1390 bytes
1390 bytes
"Owen Green" <owen@begonefoulmachine.kennulz.demon.co.uk> writes: > I think you can get some of the way using the JDI, but that's obviously not > very practical.... It would still only get the loaded (aka. requested/resolved) classes, not any that exist on the classpath but haven't been resolved yet. The only reliable way is to go through the classpath (available as a System property) and look through all files and ZipFileEntry'es there.
Technical Details
Message-ID:
<ubsgyqde4.fsf@ergo.no>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!logbridge.uoregon.edu!nntp-relay.ihug.net!out.nntp.be!propagator-SanJose!in.nntp.be!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnewsReferences:
<MPG.168159c4e78ee51a989682@newsgroups.borland.com> <MPG.168178dd884c019898adab@forums.borland.com> <3c17bf7e_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,4e00fc170de58cf3 X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2001-12-17 04:00:33 PST Sender: towi@SDSA1761 Newsgroups: borland.public.jbuilder.java.api Subject: Re: How to find all Classes in a Package? References: <MPG.168159c4e78ee51a989682@newsgroups.borland.com> <MPG.168178dd884c019898adab@forums.borland.com> <3c17bf7e_1@dnews> From: Tor Iver Wilhelmsen <tor.wilhelmsen@ergo.no> Date: 17 Dec 2001 12:44:51 +0100 Message-ID: <ubsgyqde4.fsf@ergo.no> Lines: 10 X-Newsreader: Gnus v5.7/Emacs 20.7 NNTP-Posting-Host: 139.105.4.252 X-Trace: dnews 1008589492 139.105.4.252 (17 Dec 2001 03:44:52 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!logbridge.uoregon.edu!nntp-relay.ihug.net!out.nntp.be!propagator-SanJose!in.nntp.be!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews