Is there a resource (web-based I guess, I'm certain there are probably books that have what I want) where I can look up what JAVA commands do?
Meaning - I am going through various tutorials and would like to look up the commands within the tutorial and how to use the command correctly.
For example, I have a tutorial showing some simple XML stuff, how can I look up (in a library search engine format) what:
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
DocumentBuilder db = dbf.newDocumentBuilder();
Document doc = db.parse(file);getElementsByTagName
I see the tutorial does but I have no idea what each line "does"
I have printed out a couple of tutorials and would like to make notes out beside each line as to what the commands are doing.
Thanks for the help as I go through this process.
Look into the Java API Doc ?
Use google : java DocumentBuilder and so on or use search engines like Java SE JDK 6 API Search
You realize all IDEs do this when you hit the '.' right? You get a popup of all the constructors, methods, and fields in the class, along with a description of the parameters used. I suggest NetBeans or Eclipse.
Download the offline package and attach with the IDE. Most of the IDEs nowadays supporting that.
Originally Posted by eRaaaa
With NetBeans it's easy. Once attach the Java DOC with a simple key combination you can see the relevant document.