Re: Is there an easy way to find the right class?



Patricia Shanahan wrote:

If not, I google:

java whatever

where "whatever" is a description of what I want to do.

Patricia

But wouldn't it be great if there was a database or website where you could go and type in "what class for reading a text file" and the site/DB would return a list of classes for me to investigate.

I typed that exact phrase into google and got back

http://java.sun.com/docs/books/tutorial/essential/io/
http://java.sun.com/j2se/1.4.2/docs/api/
http://publib.boulder.ibm.com/infocenter/iadthelp/v6r0/index.jsp?topic=/com.ibm.etools.iseries.orxw.doc/orxw_prg02.htm
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/439045

and a whole bunch of other sites... only the first two have anything to do with Java and the j2se 1.4.2 is obsolete if you are developing on anything higher

Now if I try your suggestion: "java what class for reading a text file"

http://www.javapractices.com/Topic42.cjp
http://java.sun.com/docs/books/tutorial/essential/io/
http://java.sun.com/j2se/1.4.2/docs/api/
http://forum.java.sun.com/thread.jspa?threadID=682804&tstart=30
http://forum.java.sun.com/thread.jspa?threadID=709772&messageID=4109098

Here is a program to purports to be a "class finder"

http://www.programurl.com/java-class-finder.htm

sounds like a glorified "grep" to me. But it still doesn't help me.
I could host a website that would let you type in a search criteria and return a set of classes that meet the criteria. But what jdk would I use? And would I include the various (and plethorous) frameworks in the search?
.



Relevant Pages

  • Re: Is it always possible to write a COBOL program using only 1 sentence per paragraph?
    ... >> A few months ago I had an introductory class on Java programming. ... reading from console can be done via a call to ... just one character at a time). ... Stream reader, or an HTTP Input Stream reader, or an Audio Input Stream ...
    (comp.lang.cobol)
  • Event Driven Code and Thread Control
    ... One of the big changes I want to make is event-driven code (rather than the linear flow I had in Java). ... There is a GUI thread, a main processing thread (handles parsing, updating the objects, etc - this could also been on the GUI thread, but not sure if that is proper design. ... This would basically be the worker thread where all the data is actually manipulated), and 2 input threads (1 socket reading from another application, and 1 file also reading from that same other application). ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: CLOS and databases
    ... No-one programs in Java if they ... I've experienced the frustration of loving Common Lisp but being forced ... Common Lisp macros) to hide all the mess. ... Reading PRIMES/0000000000000000001.transactionLog... ...
    (comp.lang.lisp)
  • Reading in chunks of data
    ... I'm reading up on the use of the RandomAccessFile (and other file I/O) ... classes in Java but I haven't found anything that can help me. ...
    (comp.lang.java.programmer)
  • Re: A way to learn java...
    ... >I have been reading Sams Teach Yourself Java 2 in 24 hours. ... Compute the effect the price of oil per barrel on your gas, ... Compare the cost of bus, taxi, car transport. ... http://mindprod.com Again taking new Java programming contracts. ...
    (comp.lang.java.help)