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. Advertisements

  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. Advertisements

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,906
    Joseph Millar
    Aug 8, 2003
  2. Jeffy
    Replies:
    2
    Views:
    2,908
    Thomas Weidenfeller
    Sep 10, 2003
  3. Serge
    Replies:
    7
    Views:
    1,531
    Adam Jenkins
    Feb 17, 2004
  4. Julian
    Replies:
    3
    Views:
    4,840
    Thomas Schodt
    Apr 30, 2005
  5. Jeff Rodriguez
    Replies:
    23
    Views:
    1,566
    David Schwartz
    Dec 9, 2003
  6. aeonsun
    Replies:
    4
    Views:
    674
    Paul Cager
    Jul 27, 2006
  7. Jason Cavett
    Replies:
    18
    Views:
    1,758
    Jason Cavett
    Mar 26, 2007
  8. Mateo
    Replies:
    5
    Views:
    178
    Martin Honnen
    Jul 27, 2005
Loading...