public interface FinishableStream
| Modifier and Type | Method and Description |
|---|---|
long |
finish()
Reads remaining data and returns size of all data processed by this
stream.
|
long |
getLength()
Returns size of data processed so far.
|
long finish()
throws java.io.IOException
java.io.IOException - if input/output error occurslong getLength()