jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hendrik Beck \(camunda\)" <hendrik.b...@camunda.com>
Subject RE: Getting the size of binary node content
Date Tue, 02 Oct 2007 13:31:39 GMT
Well, same for me. What surprises API's sometimes hold for us... ;-) Thanks,
Thomas, also from me!

Hendrik


> -----Original Message-----
> From: Alexander Nesterov [mailto:alex.maddriver@gmail.com]
> Sent: Tuesday, October 02, 2007 8:28 PM
> To: users@jackrabbit.apache.org
> Subject: Re: Getting the size of binary node content
> 
> Hi,
> 
> On 10/2/07, Thomas Mueller <thomas.tom.mueller@gmail.com> wrote:
> > 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?
> 
> The problem was that i didn't know about Property.getLength() method.
> I tried to use getLength() method and it works for me. Thanks a lot
> for help!
> 
> --
> Alexander Nesterov


Mime
View raw message