public abstract class RandomAccessOutputStream extends OutputStream
java.io.OutputStream
with a random
access facility. Multiple write()
operations can be
positioned off sequence with the seek(long)
method.Constructor and Description |
---|
RandomAccessOutputStream()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
seek(long position)
Deprecated.
Sets the current position in the resource where the next write
will occur.
|
public abstract void seek(long position) throws IOException
position
- the new position in the resource.IOException
- if an error occurs while seeking to the position.Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.