This is a simple Perl script which takes the URL of a given Javadoc file and returns what the basic Java code would look like. A great utility for first year Computer Science students to use.
You will most likely be asked to download a file, simply save it as the name of the java program that you are downloading. (e.g. If the page is ../Thread.html save it as Thread.java)
Bonus: Want a quick template for your next Java file? Enter the following in the above box: “/Filename.java” (without the quotes) and it’ll create a pre-made Filename class with a constructor, along with the proper Javadoc + CVS comments.
Note: Should you encounter any problems while using this utility, please feel free to contact me.
Phaniraj (August 10, 2005 at 6:34 am)
I couldn’t get this tool working. I used url for java.lang.string class from sun and it didnt generate the java file properly. ANy idea? and is this is an opensource? can I download this?
thanks,
Phani.
John Resig (August 10, 2005 at 8:29 am)
Phani I’ve bundled up the code and it’s available for download here. I’m not terribly suprised that it doesn’t work – it’s so kludgy to begin with – and it’s very old. Oh well, worth a shot.