Class DownloadBlobInfo

java.lang.Object
org.nuxeo.ecm.core.io.download.DownloadBlobInfo

public class DownloadBlobInfo extends Object
This class exposes information of a blob given its download path. For instance, it parses the download path "default/3727ef6b-cf8c-4f27-ab2c-79de0171a2c8/files:files/0/file/image.png" into:
 {
   "repository": "default",
   "docId": "3727ef6b-cf8c-4f27-ab2c-79de0171a2c8",
   "xpath": "files:files/0/file",
   "filename": "image.png"
 }
 
Since:
9.1
  • Field Details

    • repository

      protected final String repository
    • docId

      protected final String docId
    • xpath

      protected final String xpath
    • filename

      protected final String filename
  • Constructor Details

    • DownloadBlobInfo

      public DownloadBlobInfo(String downloadPath)
  • Method Details

    • getRepository

      public String getRepository()
      Since:
      2021.17
    • getDocId

      public String getDocId()
      Since:
      2021.17
    • getXpath

      public String getXpath()
      Since:
      2021.17
    • getFilename

      public String getFilename()
      Since:
      2021.17