Package org.nuxeo.wopi
Class FileInfo
java.lang.Object
org.nuxeo.wopi.FileInfo
Given a WOPI file id, this class extracts information about a blob: a repository name, a doc id and the blob xpath.
 
 A WOPI file id is a base64 encoded string formatted as repositoryName/docId/xpath.
- Since:
 - 10.3
 
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic StringcomputeFileId(String repositoryName, String docId, String xpath) Returns a WOPI file id given arepositoryName,docIdand a blobxpath.static StringcomputeFileId(DocumentModel doc, String xpath) Returns a WOPI file id given adoc, and a blobxpath. 
- 
Field Details
- 
repositoryName
 - 
docId
 - 
xpath
 
 - 
 - 
Constructor Details
- 
FileInfo
 
 - 
 - 
Method Details
- 
computeFileId
Returns a WOPI file id given arepositoryName,docIdand a blobxpath. - 
computeFileId
Returns a WOPI file id given adoc, and a blobxpath. 
 -