public interface SeekableFileOutput
OutputStream
which can seek.
Typically used for implementing progressive output.Modifier and Type | Method and Description |
---|---|
OutputStream |
getOutputStream()
The represented stream.
|
long |
position()
The actual position in the output.
|
void |
position(long position)
Set the position.
|
OutputStream getOutputStream()
FileOutputStream
.long position() throws IOException
IOException
- propagatedvoid position(long position) throws IOException
position
- Position to setIOException
- propagated