Re: Using Reflection to get all Classes?



julianwissel@xxxxxx (Julian) writes:

> But I would like to create a Class Browser that shows all classes that
> are available in the system. Is this possible? If it is, how?

You need to navigate System.getProperty("java.class.path") and the
bootclasspath. Look in every jar, directory etc. - recursively - and
analyze .class files. Remember to "convert" nested classes (they have
a $ in their names).
.



Relevant Pages

  • Re: Word compatability
    ... >without actually upgrading? ... Julian, ... Word hasn't changed format since Word 97. ... Prev by Date: ...
    (microsoft.public.word.docmanagement)
  • Re: Simple HTML read/write question
    ... in anger, and it is a bit of a hack, so I fully expect the code to ... Julian ... Prev by Date: ...
    (comp.lang.javascript)
  • partitionen =?ISO-8859-1?Q?ver=E4ndern?=
    ... gibt es eigentlich ein "recht" sicheres tool um w2k3 Laufwerke. ... Prev by Date: ...
    (microsoft.public.de.german.backoffice.smallbiz)
  • Damian Marley opens for U2
    ... the Marley Family Fanpage http://www.melodymakers.de ... good vibes ... Julian ... Prev by Date: ...
    (rec.music.reggae)
  • Taize
    ... He is our homeliest home and endless dwelling - Julian of Norwich ... Prev by Date: ...
    (uk.religion.christian)