Class FileItem
java.lang.Object
org.exoplatform.commons.file.model.FileItem
Object representing a file : information + binary
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]voidsetFileInfo(FileInfo fileInfo) voidsetInputStream(InputStream inputStream)
-
Field Details
-
fileInfo
-
data
protected byte[] dataObject representing a file : information + binary
-
-
Constructor Details
-
Method Details
-
getFileInfo
-
getAsStream
-
getAsByte
public byte[] getAsByte() -
setInputStream
- Throws:
Exception
-
setFileInfo
-