| Constructor and Description |
|---|
FilePayload(File file) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
closeQuietly()
Closes the stream and releases state.
|
File |
getRaw()
Gets the raw underlying object for the Payload.
|
InputStream |
open()
Opens and returns the input stream.
|
public FilePayload(File file)
public InputStream open()
public File getRaw()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic void closeQuietly()
closeQuietly in interface Payload<File>Copyright © 2017. All rights reserved.