| Modifier and Type | Method and Description |
|---|---|
static DLPayloadEntity |
create(InputStream stream) |
InputStream |
getInputStream()
The raw inputstream
|
void |
writeToFile(File file)
Writes the current stream to the specified
file |
public static DLPayloadEntity create(InputStream stream)
public InputStream getInputStream()
DLPayloadgetInputStream in interface DLPayloadpublic void writeToFile(File file) throws IOException
DLPayloadfilewriteToFile in interface DLPayloadfile - the file to write toIOException