X-Original-To: pgsql-jdbc@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 627094753A1 for ; Sun, 2 Mar 2003 08:35:04 -0500 (EST) Received: from postgresql.org ([64.49.215.8]) by localhost (postgresql.org [64.49.215.8:10024]) (amavisd-new) with SMTP id 13881-05 for ; Sun, 2 Mar 2003 08:34:59 -0500 (EST) Received: from mail46.fg.online.no (mail46-s.fg.online.no [148.122.161.46]) by postgresql.org (Postfix) with ESMTP id BD216474E61 for ; Sun, 2 Mar 2003 08:34:58 -0500 (EST) Received: from kornelius (ti122110a080-2385.bb.online.no [80.213.201.81]) by mail46.fg.online.no (8.9.3/8.9.3) with ESMTP id OAA24168 for ; Sun, 2 Mar 2003 14:35:01 +0100 (MET) Received: from anders by kornelius with local (Exim 3.36 #1 (Debian)) id 18pTcH-0004sN-00 for ; Sun, 02 Mar 2003 14:34:57 +0100 Date: Sun, 2 Mar 2003 14:34:57 +0100 From: Anders Hermansen To: pgsql-jdbc@postgresql.org Subject: Re: binary data Message-ID: <20030302133457.GA18675@online.no> Mail-Followup-To: pgsql-jdbc@postgresql.org References: <20030302132100.GA18201@online.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i X-Editor: Vim http://www.vim.org/ X-Operating-System: Linux/2.4.21-pre4-3 (i686) X-Virus-Scanned: by amavisd-new X-Archive-Number: 200303/12 X-Sequence-Number: 6553 * Uwe Kubosch (donv@crusaders.no) wrote: > > Why don't you show us the setContent method? > > I doesn't do much, but here it is: > > private InputStream content; > > /** > * Set content for this file. > * @param newValue InputStream > */ > public void setContent(InputStream newValue) { > this.content = newValue; > } > > Hope you can make sense of it. That's not at much help. Let me rephrase that: Show us the code that saves the InputStream to a file. Anders -- Anders Hermansen YoYo Mobile as