jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Nesterov" <alex.maddri...@gmail.com>
Subject Re: Getting the size of binary node content
Date Tue, 02 Oct 2007 13:27:53 GMT

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

View raw message