loading java class configuration from file

Z

ziki

Hi guys
i have a program that generates classes by user demand. And I want to
save those classes in to file so when this user will ask a particular
configuration that he already choose. i could open a file and generate
classes out of the file and load them. The big problem is that each
class like that has a lot of configurations.
So if there any way that those classes can be "spilled" (with their
configurations) in to a file "as is" and loaded after that in to a real
files it would be great !!

Thanks,
 
O

Oliver Wong

ziki said:
Hi guys
i have a program that generates classes by user demand. And I want to
save those classes in to file so when this user will ask a particular
configuration that he already choose. i could open a file and generate
classes out of the file and load them. The big problem is that each
class like that has a lot of configurations.
So if there any way that those classes can be "spilled" (with their
configurations) in to a file "as is" and loaded after that in to a real
files it would be great !!

Terminology is unclear to me. What does "'spilled' (with their
configurations) in to a file" and "loaded in to a real files" mean? It
sounds like all you're asking is how to save a bunch of bytes to and from a
file, but given you've gotten code that generates class files, surely your
question must be about something much more complicated.

- Oliver
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,679
Members
48,796
Latest member
Greg L.

Latest Threads

Top