public class FilePayload extends BasePayload<File>
content, contentMetadata, written| Constructor and Description |
|---|
FilePayload(File content) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
openStream()
Creates a new InputStream object of the payload.
|
close, equals, getContentMetadata, getInput, getRawContent, hashCode, isRepeatable, isSensitive, release, setContentMetadata, setSensitive, toStringpublic FilePayload(File content)
public InputStream openStream() throws IOException
IOExceptionCopyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.