Re: Using Reflection to get all Classes?
- From: Tor Iver Wilhelmsen <tor.iver.wilhelmsen@xxxxxxxxxxxx>
- Date: 29 Apr 2005 19:09:18 +0200
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).
.
- Follow-Ups:
- Re: Using Reflection to get all Classes?
- From: John C. Bollinger
- Re: Using Reflection to get all Classes?
- References:
- Using Reflection to get all Classes?
- From: Julian
- Using Reflection to get all Classes?
- Prev by Date: Static initilizer failed to execute?
- Next by Date: Re: Using Reflection to get all Classes?
- Previous by thread: Using Reflection to get all Classes?
- Next by thread: Re: Using Reflection to get all Classes?
- Index(es):
Relevant Pages
|
|