jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Mueller <muel...@adobe.com>
Subject Re: Retrieve coded filename from datastore
Date Tue, 04 Jan 2011 08:03:18 GMT

As documented in http://wiki.apache.org/jackrabbit/DataStore#API you can
retrieve the identifier using


JackrabbitValue is the public Jackrabbit API. Using non-public classes or
methods or re-implementing things in Jackrabbit is not required.


On 1/4/11 4:31 AM, "yun" <zhiyun@ecquaria.com> wrote:

>I know that we are not suppose to get the coded file from
>"jackrabbit\repository\datastore" folder where the raw files are stored by
>the jack rabbit repository. Example of a filename would be:
>The file name is named by using the "52\cd\14" in
>"repository\datastore\52\cd\14" which is the folder where the file is
>Is there a way to obtain this name through some java codes when writing
>file to the repository?
>I need this file name as a backup option if ever the repository is
>corrupted, I would still have an option to retrieve the file from the
>folders according to the filename. Thanks.
>View this message in context:
>Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

View raw message