Can I using reflection to get all child classes or classes undera package dynamically?

Discussion in 'Java' started by Carfield Yim, May 31, 2004.

  1. Carfield Yim

    Carfield Yim Guest

    From the API document seen there is no method to do that, is that any
    trick can do that?
    --
    ''~``
    ( o o )
    +------------------.oooO--(_)--Oooo.------------------+
    We are limited, not by our abilities, but by our vision.

    | |
    | http://www.carfield.com.hk |
    | .oooO |
    | ( ) Oooo. |
    +---------------------\ (----( )--------------------+
    \_) ) /
    (_/
     
    Carfield Yim, May 31, 2004
    #1
    1. Advertising

  2. Re: Can I using reflection to get all child classes or classes under a package dynamically?

    On Tue, 01 Jun 2004 01:19:54 +0800, Carfield Yim wrote:

    > sub: Can I using reflection to get all child
    > classes or classes under a package dynamically?


    It is important to both have a short subject,
    and repeat the jist of it in the body, for those
    that ignore 'subject lines' and would not have
    any idea what you are asking.

    > From the API document seen there is no method to do that, is that any
    > trick can do that?


    Using reflection? No.

    --
    Andrew Thompson
    http://www.PhySci.org/ Open-source software suite
    http://www.PhySci.org/codes/ Web & IT Help
    http://www.1point1C.org/ Science & Technology
     
    Andrew Thompson, May 31, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. guava
    Replies:
    1
    Views:
    2,695
    Joseph Millar
    Aug 8, 2003
  2. Jeffy
    Replies:
    2
    Views:
    2,681
    Thomas Weidenfeller
    Sep 10, 2003
  3. Julian
    Replies:
    3
    Views:
    4,547
    Thomas Schodt
    Apr 30, 2005
  4. Jeff Rodriguez
    Replies:
    23
    Views:
    1,140
    David Schwartz
    Dec 9, 2003
  5. Jason Cavett
    Replies:
    18
    Views:
    1,326
    Jason Cavett
    Mar 26, 2007
Loading...

Share This Page