Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Class Object From .class File



We have posted examples of class loading for both Mac OS 9 and X.

For 9, go to <http://www.pepsan.com/javamac/> and look for the classloading
question.

For X, go to <http://www.pepsan.com/macosx/downloads.html>.

Both examples include the source code. The X example uses Project Builder.
The examples show doing your own loading of classes from both local files
and over a URL. Both cases are for .class files.

Ron
_______________________
Ronald Guest
Pepsan & Associates, Inc. Creating Pathways to Excellence
email@hidden
http://www.pepsan.com
_______________________

Nothing will ever be attempted if all possible objections must be first
overcome - Samuel Johnson


On 5/31/01 3:48 PM, "James Gray" <email@hidden> wrote:

> I've run into a little problem and could use a little help. My program
> needs to dynamically load a few classes from files in a certain
> directory. I know how to get and parse a list of those files and I also
> know how how to verify and create instances from a Class object. The
> knowledge I'm missing is the middle part. How do I go get the VM to
> load a Class object from a File object? Thanks very much for your help.
>
> James Gray


References: 
 >Class Object From .class File (From: James Gray <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.