Class FileSystemContentObject
- java.lang.Object
-
- com.flowable.content.engine.impl.fs.FileSystemContentObject
-
- All Implemented Interfaces:
ContentObject
public class FileSystemContentObject extends Object implements ContentObject
ContentObject
, backed by a file.- Author:
- Frederik Heremans
-
-
Field Summary
Fields Modifier and Type Field Description protected File
file
protected String
id
protected InputStream
inputStream
protected Long
length
-
Constructor Summary
Constructors Constructor Description FileSystemContentObject(File file, String id)
FileSystemContentObject(File file, String id, Long length)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStream
getContent()
long
getContentLength()
String
getId()
-
-
-
Field Detail
-
file
protected File file
-
inputStream
protected InputStream inputStream
-
id
protected String id
-
length
protected Long length
-
-
Method Detail
-
getId
public String getId()
- Specified by:
getId
in interfaceContentObject
-
getContentLength
public long getContentLength()
- Specified by:
getContentLength
in interfaceContentObject
-
getContent
public InputStream getContent()
- Specified by:
getContent
in interfaceContentObject
-
-