Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 18859 invoked from network); 3 Oct 2007 12:02:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Oct 2007 12:02:49 -0000 Received: (qmail 48750 invoked by uid 500); 3 Oct 2007 12:02:24 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 48663 invoked by uid 500); 3 Oct 2007 12:02:23 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 48616 invoked by uid 99); 3 Oct 2007 12:02:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Oct 2007 05:02:23 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of stefan.guggisberg@gmail.com designates 209.85.128.188 as permitted sender) Received: from [209.85.128.188] (HELO fk-out-0910.google.com) (209.85.128.188) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Oct 2007 12:02:22 +0000 Received: by fk-out-0910.google.com with SMTP id b27so5338271fka for ; Wed, 03 Oct 2007 05:02:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=8TRIBZIbtA/DXx+eAzXJcm8kXihWXPZ7h1nlMK5+0zc=; b=DkhdK3XoW5z4dqvdPlDLNdMjum2Sxqe+LgijZIv2ekQapMhgOYJPj98GlK2xgjzfvGoMLViW9g5rvtvmPrT2MdmPq1S71StNbJhwwDMLQA+/8X/2R6K6sqn3kohUuvbqQlVBp8bSo3l6/oclF6sQ+/JDhvCfkGtwMbdVvpvA2bg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TE1rZlRwUOuUpIS1ls9HQkoEbo8DjqzeFtR1mfwDyvtsDTUzhssfRAsCEzvzaOh6Qyhg0x5mmI5SbwlAX5wuWbQRSVpNiIH9yClHgCPYM74N2g75Ul1VpOWqf8xIglk4hrFcDOPbj4HgTsdiHUiFasrlgrqWy9zYBwI1AH1umxA= Received: by 10.82.134.12 with SMTP id h12mr7434690bud.1191412920150; Wed, 03 Oct 2007 05:02:00 -0700 (PDT) Received: by 10.82.171.9 with HTTP; Wed, 3 Oct 2007 05:02:00 -0700 (PDT) Message-ID: <90a8d1c00710030502w7e033c9fida000ff30c593d0c@mail.gmail.com> Date: Wed, 3 Oct 2007 14:02:00 +0200 From: "Stefan Guggisberg" To: users@jackrabbit.apache.org Subject: Re: Getting the size of binary node content In-Reply-To: <1191356898.6169.2.camel@antares> MIME-Version: 1.0 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <5f211bd50710020607g11446463t29bf6bb8d81edbde@mail.gmail.com> <1191356898.6169.2.camel@antares> X-Virus-Checked: Checked by ClamAV on apache.org On 10/2/07, Paco Avila wrote: > El mar, 02-10-2007 a las 15:07 +0200, Thomas Mueller escribi=F3: > > Hi, > > > > Property.getLength(): > > Returns the length of the value of this property. Returns the length > > in bytes if the value is a PropertyType.BINARY, otherwise it returns > > the number of characters needed to display the value in its string > > form. Returns -1 if the implementation cannot determine the length. > > > > Does this not work, or did I misunderstand the problem? > > I didn't notice the method :) Anyway, "Property.getLength()" is supposed > to be so fast as getting the size stored in special a property? yes, in fact even faster ;) cheers stefan > -- > GIT CONSULTORS > > www.git.es > > Tel: +34 971 498 310 > Fax: +34 971 496 189 > > C/ Francesc Rover, 2B. > 07003 Palma de Mallorca =96 Illes Balears (Espa=F1a) > > >