public static interface IO.OutputToInput extends IO.Readable, IO.Writable
IO.Readable.Buffered, IO.Readable.SeekableIO.Writable.Buffered, IO.Writable.SeekableIO.KnownSize, IO.OperationType, IO.OutputToInput, IO.PositionKnown, IO.Readable, IO.ReadableByteStream, IO.Resizable, IO.Writable, IO.WritableByteStream, IO.WriterAsyncCloseableListenable.Impl| Modifier and Type | Method and Description |
|---|---|
void |
endOfData()
Signal that no more data will be written by the producer.
|
long |
getAvailableDataSize()
If available, return the size.
|
boolean |
isFullDataAvailable()
Return true if endOfData has been already called.
|
void |
signalErrorBeforeEndOfData(IOException error)
Signal that no more data will be written by the producer because of an error.
|
canStartReading, readAsync, readAsync, readFullyAsync, readFullyAsync, readFullySync, readSync, skipAsync, skipAsync, skipSynccanStartWriting, writeAsync, writeAsync, writeSynccancelClosed, error, errorCancelled, getPriority, getSourceDescription, getTaskManager, getWrappedIO, setPrioritylockClose, unlockCloseclosecloseAfter, closeAsyncaddCloseListener, addCloseListener, close, isClosed, removeCloseListener, removeCloseListenervoid endOfData()
void signalErrorBeforeEndOfData(IOException error)
boolean isFullDataAvailable()
long getAvailableDataSize()
Copyright © 2019. All rights reserved.