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, toString
public FilePayload(File content)
public InputStream openStream() throws IOException
IOException
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.