Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #2857

Re: java.lang vs java.util

From David Lamb <dalamb@cs.queensu.ca>
Newsgroups comp.lang.java.programmer
Subject Re: java.lang vs java.util
References (5 earlier) <dt6mp.2629$0r7.144@newsfe12.iad> <inb4i8$m5l$2@lust.ihug.co.nz> <ct9mp.1376$YL5.219@newsfe05.iad> <inbg1v$sf7$1@lust.ihug.co.nz> <incboo$s44$1@dont-email.me>
Message-ID <DTrmp.12733$sS4.2781@newsfe11.iad> (permalink)
Date 2011-04-04 18:46 -0400

Show all headers | View raw


On 04/04/2011 7:58 AM, Joshua Cranmer wrote:
> On 04/04/2011 12:05 AM, Lawrence D'Oliveiro wrote:
>> Which reminds me, I’m still waiting for someone to show how they can
>> do this
>> <http://groups.google.co.nz/groups?selm=ik1en0$gng$1@lust.ihug.co.nz>
>> better
>> in Java.
>
> public void dumpToCSV(Writer out, Connection conn) throws IOException {
> Statement stmt = conn.createStatement();
> ResultSet res = stmt.executeQuery(query);
> FormattedResulter.printCSV(res, out);
> }
>
> I'm sure somebody essentially wrote the class that does the last line
> for me, which, quite frankly, is correct enough given the information
> you've provided. If you cry foul, I'd like to point out that you gave
> only a very vague description of what goes on in the python code, plus
> you've clearly used other libraries in your own code.
>

Sigh.  It would be perfectly fair for Lawrence to ask what the body of 
printCSV looks like, if that's where the core iteration functionality 
belongs (I haven't and won't read the python code 'cause I'm a novice in 
that language).

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

java.lang vs java.util Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-04-02 17:11 +1300
  Re: java.lang vs java.util Patricia Shanahan <pats@acm.org> - 2011-04-01 21:23 -0700
    Re: java.lang vs java.util Lew <noone@lewscanon.com> - 2011-04-02 01:52 -0400
      Re: java.lang vs java.util Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-04-02 09:50 -0300
        Re: java.lang vs java.util David Lamb <dalamb@cs.queensu.ca> - 2011-04-02 09:12 -0400
          Re: java.lang vs java.util Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-04-03 12:37 +1200
            Re: java.lang vs java.util David Lamb <dalamb@cs.queensu.ca> - 2011-04-03 08:05 -0400
          Re: java.lang vs java.util Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-04-03 09:33 -0300
        Re: java.lang vs java.util "Mike Schilling" <mscottschilling@hotmail.com> - 2011-04-02 07:57 -0700
          Re: java.lang vs java.util Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-04-03 12:38 +1200
  Re: java.lang vs java.util Roedy Green <see_website@mindprod.com.invalid> - 2011-04-01 23:43 -0700
    Re: java.lang vs java.util Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-04-02 19:52 +1300
      Re: java.lang vs java.util David Lamb <dalamb@cs.queensu.ca> - 2011-04-03 08:05 -0400
        Re: java.lang vs java.util Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-04-04 10:11 +1200
          Re: java.lang vs java.util Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-04-03 19:25 -0300
            Re: java.lang vs java.util Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-04-04 12:49 +1200
              Re: java.lang vs java.util Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-04-03 22:50 -0300
                Re: java.lang vs java.util Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-04-04 16:05 +1200
                Re: java.lang vs java.util Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-04-04 07:06 -0300
                Re: java.lang vs java.util Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-04-04 23:10 +1200
                Re: java.lang vs java.util Leif Roar Moldskred <leifm@dimnakorr.com> - 2011-04-04 06:20 -0500
                Re: java.lang vs java.util rossum <rossum48@coldmail.com> - 2011-04-04 15:22 +0100
                Re: java.lang vs java.util Patricia Shanahan <pats@acm.org> - 2011-04-04 05:58 -0700
                Re: java.lang vs java.util Lew <noone@lewscanon.com> - 2011-04-06 15:34 -0400
                Re: java.lang vs java.util rossum <rossum48@coldmail.com> - 2011-04-07 10:22 +0100
                Re: java.lang vs java.util David Lamb <dalamb@cs.queensu.ca> - 2011-04-04 18:41 -0400
                Re: java.lang vs java.util Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-04-04 07:04 -0300
                Re: java.lang vs java.util Joshua Cranmer <Pidgeot18@verizon.invalid> - 2011-04-04 07:58 -0400
                Re: java.lang vs java.util David Lamb <dalamb@cs.queensu.ca> - 2011-04-04 18:46 -0400
  Re: java.lang vs java.util Joshua Cranmer <Pidgeot18@verizon.invalid> - 2011-04-02 16:22 -0400

csiph-web