public class FileSystemContentObject extends Object implements org.flowable.content.api.ContentObject
ContentObject, backed by a file.| Modifier and Type | Field and Description |
|---|---|
protected File |
file |
protected String |
id |
protected InputStream |
inputStream |
protected Long |
length |
| Constructor and Description |
|---|
FileSystemContentObject(File file,
String id) |
FileSystemContentObject(File file,
String id,
Long length) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getContent() |
long |
getContentLength() |
String |
getId() |
protected File file
protected InputStream inputStream
protected String id
protected Long length
public String getId()
getId in interface org.flowable.content.api.ContentObjectpublic long getContentLength()
getContentLength in interface org.flowable.content.api.ContentObjectpublic InputStream getContent()
getContent in interface org.flowable.content.api.ContentObjectCopyright © 2019. All rights reserved.