Class GridFSBinaryManager.GridFSBinary

java.lang.Object
org.nuxeo.ecm.core.blob.binary.Binary
org.nuxeo.ecm.core.storage.mongodb.GridFSBinaryManager.GridFSBinary
All Implemented Interfaces:
Serializable
Enclosing class:
GridFSBinaryManager

protected static class GridFSBinaryManager.GridFSBinary extends Binary
A binary backed by GridFS.
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • getBinaryManager

      protected GridFSBinaryManager getBinaryManager()
    • getStream

      public InputStream getStream()
      Description copied from class: Binary
      Gets an input stream for the binary.
      Overrides:
      getStream in class Binary
      Returns:
      the input stream
    • recomputeFile

      protected File recomputeFile()
      Description copied from class: Binary
      Recomputes the file attribute by getting it from a new Binary for the same digest.
      Overrides:
      recomputeFile in class Binary