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