jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Roeloffzen" <ted.roeloff...@gmail.com>
Subject Re: Retrieving binary content
Date Tue, 28 Nov 2006 09:31:26 GMT
And how do I read the actual data with that inputstream?
Sorry if this is a stupid question, but i'm not that experienced.

Ted


2006/11/28, Jukka Zitting <jukka.zitting@gmail.com>:
>
> Hi,
>
> On 11/28/06, Ted Roeloffzen <ted.roeloffzen@gmail.com> wrote:
> > I have a question. In my application I have a node named Plugin with a
> > reference to a node named Image. The image node contains an image. Now
> in my
> > application i retrieve the Plugin node, but i can't figure out how to
> get
> > the node that it has a reference to and than how to retrieve the image
> it
> > contains. Can anybody help me with that?
>
> Something like this should work:
>
>    Node plugin = ...;
>    Node image = plugin.getProperty("...").getNode();
>    InputStream data = image.getProperty("...").getStream();
>
> BR,
>
> Jukka Zitting
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message