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
ConstructorsConstructorDescriptionDocumentFileContent(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
-
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 idname- the document's namemimeType- the content's media typecontent- the contentupdatedDate- when the document was last modifiedsize- the size of the content, in bytes
-