..
> > > > ..read the content of a .txt file.
...
> > > I've always used the Scanner class to read text files:
..
> > ...how I can look it up in the API ..
..
> What I typically do is a google search on the class, with the search
> specifying Java as the first term.
Huh! Neat trick &..
>...I find this
> easier than trying to navigate the index on java.sun.com
..very true. I dare not approach the full 'frames' version of
the online JavaDocs, but then, I am usually knowing what
class I need, and where it is, so the 'overview' page is
enough for me to 'click my way' through to the class.
(Your google approach sounds quicker though, especially
for someone like me who has 'Google search' for a homepage!)
>....or downloading
> the entire api, but to each his/her own.
I prefer a 'local' version of the JDocs for my own
personal browsing ..it is a lot quicker for surfing
around, and I prefer the (luxury of being able to
use the) frames based layout.
BTW - while we are peripherally on the subject
of search engines. 'download javadocs' is a good
search string for finding your way to the
..downloadable version.
Andrew T.