public static interface IO.Seekable extends IO.PositionKnown
| Modifier and Type | Interface and Description |
|---|---|
static class |
IO.Seekable.SeekType
List of possible seek operations.
|
IO.KnownSize, IO.OperationType, IO.OutputToInput, IO.PositionKnown, IO.Readable, IO.ReadableByteStream, IO.Resizable, IO.Seekable, IO.Writable, IO.WritableByteStream, IO.WriterAsyncCloseableListenable.Impl| Modifier and Type | Method and Description |
|---|---|
default AsyncSupplier<Long,IOException> |
seekAsync(IO.Seekable.SeekType type,
long move)
Returns the new position.
|
AsyncSupplier<Long,IOException> |
seekAsync(IO.Seekable.SeekType type,
long move,
Consumer<Pair<Long,IOException>> ondone)
Returns the new position.
|
long |
seekSync(IO.Seekable.SeekType type,
long move)
Returns the new position.
|
getPositioncancelClosed, error, errorCancelled, getPriority, getSourceDescription, getTaskManager, getWrappedIO, setPrioritylockClose, unlockCloseclosecloseAfter, closeAsyncaddCloseListener, addCloseListener, close, isClosed, removeCloseListener, removeCloseListenerlong seekSync(IO.Seekable.SeekType type, long move) throws IOException
IOExceptionAsyncSupplier<Long,IOException> seekAsync(IO.Seekable.SeekType type, long move, Consumer<Pair<Long,IOException>> ondone)
default AsyncSupplier<Long,IOException> seekAsync(IO.Seekable.SeekType type, long move)
Copyright © 2019. All rights reserved.