Howto use DefaultBinaryManager ?
Hi,
I need to retrieve the filesystem's filename of the principal blob of a document. I would like to use the code below to retrieve this info :
String digest = blob.getDigest();
DefaultBinaryManager manager = ???? ;
File file = manager.getFileForDigest(digest, false);
String name = file.getName();
But I don't know how to initialise “manager”.
Is this the good way to do it ?
How can I get the instance of DefaultBinaryManager ?
0 votes
1 answers
1602 views