You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by "Khanapurkar, Mona A." <Mo...@idearc.com> on 2007/10/02 00:28:39 UTC

How to store filename and mime type of a file in repository

Hello,

I am simply using node.setProperty(String, InputStream) to store the
contents of a file to the repository. Is there a way to store additional
properties of the file, like filename and mime type to the repository
using this method? Please advise.

Thanks,
Mona

RE: How to store filename and mime type of a file in repository

Posted by "Khanapurkar, Mona A." <Mo...@idearc.com>.
Got what I wanted in http://wiki.apache.org/jackrabbit/ExamplesPage

Thanks,
Mona 

-----Original Message-----
From: Khanapurkar, Mona A. [mailto:Mona.A.Khanapurkar@idearc.com] 
Sent: Monday, October 01, 2007 5:29 PM
To: users@jackrabbit.apache.org
Subject: How to store filename and mime type of a file in repository

Hello,

I am simply using node.setProperty(String, InputStream) to store the
contents of a file to the repository. Is there a way to store additional
properties of the file, like filename and mime type to the repository
using this method? Please advise.

Thanks,
Mona