Class DocumentFileContent

java.lang.Object
io.meeds.portal.thumbnail.model.FileContent
org.exoplatform.documents.model.DocumentFileContent

public class DocumentFileContent extends io.meeds.portal.thumbnail.model.FileContent
The content of a document file together with its size in bytes, so that a part of it can be served on its own.
  • Constructor Summary

    Constructors
    Constructor
    Description
    DocumentFileContent(String id, String name, String mimeType, InputStream content, Date updatedDate, long size)
    Builds the content of a document file.
  • Method Summary

    Methods inherited from class io.meeds.portal.thumbnail.model.FileContent

    canEqual, equals, getContent, getId, getMimeType, getName, getUpdatedDate, hashCode, setContent, setId, setMimeType, setName, setUpdatedDate, toString

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • DocumentFileContent

      public DocumentFileContent(String id, String name, String mimeType, InputStream content, Date updatedDate, long size)
      Builds the content of a document file.
      Parameters:
      id - the document's id
      name - the document's name
      mimeType - the content's media type
      content - the content
      updatedDate - when the document was last modified
      size - the size of the content, in bytes