I’m looking for some advice on how to go about reading the online documentation of various packages classes and methods for java.
i mean all this stuff: http://java.sun.com/javase/6/docs/api/
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here’s a tutorial.
And indeed, read it only when needed. For the remnant, go through a tutorial. Usually Googling "[keyword] tutorial site:oracle.com" yields enough results.
Update to take the following as an example for which you’d like to find the Javadoc:
Here
someStringis an instance ofjava.lang.String. Assuming that you’d like to start up from the API documentation root (I myself rather prefer to type just "java.lang.string javase api site:oracle.com" in Firefox’s address bar to get it straight for me (if you feel lucky and didn’t already have it in browser history), or to just check it in my IDE), then scroll in the main frame to thejava.langpackage and click the link, then in the class summary check theStringclass and click the link, then in the method summary check thesplit()method and click the link.The Javadoc of the Java SE API is concise, but pretty complete and provides links to other javadocs where you expect them to be. For example, at the bottom of the
String#split()javadoc you see a "See Also" link to thePatternclass, which in turn explains that regex stuff in the class’ introduction.