public class FileRegion extends Object
| Constructor and Description |
|---|
FileRegion() |
| Modifier and Type | Method and Description |
|---|---|
void |
copyToOutputStream(OutputStream o)
Copy this record to the provided OutputStream
|
long |
getLength() |
public long getLength()
public void copyToOutputStream(OutputStream o) throws IOException
o - the OutputStream where the bytes should be sent.IOException - for usual reasonsCopyright © 2005–2015 IIPC. All rights reserved.