jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yun <zhi...@ecquaria.com>
Subject rmi.value.binaryvalue and JackrabbitValue
Date Mon, 10 Jan 2011 03:59:55 GMT


I am trying to solve this problem as I need the encoded file name that
jackrabbit creates for backup purposes.

Example of a filename in "../repository/datastore/c3/e3/39" is

I could use .getContentIdentity() from JackrabbitValue but as I am using rmi
repository, the following error occurs.

org.apache.jackrabbit.rmi.value.BinaryValue cannot be cast to

This is due to rmi.value.BinaryValue does not implement

I could create a trancient repository to get the encoded filename as a same
filestream always produces a same encoded file name, but I think it is too
slow and not right to do so. Is there a way to change the BinaryValue to a
JackrabbitValue or a method that could obtain the encoded filename from the


View this message in context: http://jackrabbit.510166.n4.nabble.com/rmi-value-binaryvalue-and-JackrabbitValue-tp3206588p3206588.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

View raw message