public class FileResource extends Object
| Modifier and Type | Field and Description |
|---|---|
private InputStream |
inputStream |
private long |
size |
| Constructor and Description |
|---|
FileResource(InputStream inputStream,
long size)
File Resource constructor with required Input Stream and associated size in bytes
|
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getInputStream() |
long |
getSize() |
private final InputStream inputStream
private final long size
public FileResource(InputStream inputStream, long size)
inputStream - Input Stream requiredsize - Size of stream in bytespublic InputStream getInputStream()
public long getSize()
Copyright © 2023 Apache NiFi Project. All rights reserved.