public static class LinkedIO.Readable.Seekable.DeterminedSize extends LinkedIO.Readable.Seekable implements IO.KnownSize
LinkedIO.Readable.Seekable.Buffered, LinkedIO.Readable.Seekable.DeterminedSizeLinkedIO.Readable.SeekableLinkedIO.Readable, LinkedIO.ReadWriteIO.KnownSize, IO.OperationType, IO.OutputToInput, IO.PositionKnown, IO.Readable, IO.ReadableByteStream, IO.Resizable, IO.Seekable, IO.Writable, IO.WritableByteStream, IO.WriterAsyncCloseableListenable.ImplIO.Readable.SeekableIO.Seekable.SeekType| Constructor and Description |
|---|
DeterminedSize(String description,
IO.Readable.Seekable... ios)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
AsyncSupplier<Long,IOException> |
getSizeAsync()
Asynchronous operation to get the size of the IO.
|
long |
getSizeSync()
Synchronous operation to get the size of the IO.
|
getPosition, nextIOAsync, nextIOSync, previousIOAsync, previousIOSync, readAsync, readFullyAsync, readFullySync, readSync, seekAsync, seekSynccanStartReading, readAsync, readFullyAsync, readFullySync, readSync, skipAsync, skipSynccanStartWriting, closeResources, closeUnderlyingResources, getPriority, getSourceDescription, getTaskManager, getWrappedIO, nextIOAsyncSeekable, nextIOAsyncStream, nextIOSyncSeekable, nextIOSyncStream, previousIOAsyncSeekable, previousIOAsyncStream, previousIOSyncSeekable, previousIOSyncStream, read, read, readAsync, readFully, readFullySyncIfPossible, readNextBuffer, readNextBufferAsync, setPriority, skip, writeAsync, writeAsync, writeSync, writeSyncaddCloseListener, addCloseListener, close, closeAsync, isClosed, isClosing, lockClose, operation, operation, removeCloseListener, removeCloseListener, unlockCloseclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcancelClosed, error, errorCancelled, getPriority, getSourceDescription, getTaskManager, getWrappedIO, setPrioritylockClose, unlockCloseclosecloseAfter, closeAsyncaddCloseListener, addCloseListener, close, isClosed, removeCloseListener, removeCloseListenerreadAsync, readFullyAsynccanStartReading, readAsync, readAsync, readFullyAsync, readFullyAsync, readFullySync, readSync, skipAsync, skipAsync, skipSyncseekAsyncpublic DeterminedSize(String description, IO.Readable.Seekable... ios)
public long getSizeSync()
throws IOException
IO.KnownSizegetSizeSync in interface IO.KnownSizegetSizeSync in class LinkedIOIOExceptionpublic AsyncSupplier<Long,IOException> getSizeAsync()
IO.KnownSizegetSizeAsync in interface IO.KnownSizegetSizeAsync in class LinkedIOCopyright © 2019. All rights reserved.