You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by Torsten Curdt <tc...@apache.org> on 2005/01/12 22:25:53 UTC
binary objects
What's the suggested way of saving binary
content with jackrabbit? Does it need to
be encoded and stored in a content node?
Any hint would be great.
cheers
--
Torsten
Re: binary objects
Posted by David Nuescheler <da...@gmail.com>.
to see how that can work to mimic a simple filesystem
have a quick look at http://jcr.day.com with the
content explorer and the webdav.
should be relatively self-explanatory.
regards,
david
Re: binary objects
Posted by Stefan Guggisberg <st...@gmail.com>.
you can store your binary content in any property of type BINARY.
there's no need to en/transcode anything, what you put in is what
you'll get back.
there's also a node type nt:mimeResource (will be renamed to nt:resource)
which defines properties such as jcr:encoding & jcr:mimeType, apart
from jcr:data which holds the binary content.
cheers
stefan
On Wed, 12 Jan 2005 22:25:53 +0100, Torsten Curdt <tc...@apache.org> wrote:
> What's the suggested way of saving binary
> content with jackrabbit? Does it need to
> be encoded and stored in a content node?
>
> Any hint would be great.
>
> cheers
> --
> Torsten
>