regd Java and scripting
Posted on 2002-04-25
I have a java applet
I have a java object called "Volume" which has certain
Now I want to automate the process of creating these
volume objects by reading these properties from some file
say " volume.txt"
For example If have a right click menu option
"import" I could read the properties from "Volume.txt"
and create a new volume object
Also the user could change the values in this file
that is user could edit this file
If I use a simple .txt file for this then I would need
to parse this file which gets complicated
I have looked into creating PDF files from a java application.
But I am not sure there is an easy way to parse these
PDF files or edit them
What could be a good way to do this?
How would I parse the txt files?
Is there any tool available to do this
Please share if there is any other approach
like using a simple scripting language