public static interface ICharacterStream.Readable extends ICharacterStream
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ICharacterStream.Readable.Buffered
Buffered readable character stream.
|
static interface |
ICharacterStream.Readable.PositionInText
Readable character stream with known line and position in line.
|
ICharacterStream.Readable, ICharacterStream.Writable, ICharacterStream.WriterAsyncCloseableListenable.Impl| Modifier and Type | Method and Description |
|---|---|
boolean |
endReached()
Return true if the end of the stream has been reached, and no more character can be read.
|
AsyncSupplier<Integer,IOException> |
readAsync(char[] buf,
int offset,
int length)
Read characters.
|
default AsyncSupplier<Integer,IOException> |
readFullyAsync(char[] buf,
int offset,
int length)
Read all requested characters.
|
default int |
readFullySync(char[] buf,
int offset,
int length)
Read all requested characters.
|
int |
readSync(char[] buf,
int offset,
int length)
Read characters.
|
getDescription, getEncoding, getPriority, setPrioritylockClose, unlockCloseclosecloseAfter, closeAsyncaddCloseListener, addCloseListener, close, isClosed, removeCloseListener, removeCloseListenerint readSync(char[] buf,
int offset,
int length)
throws IOException
IOExceptionAsyncSupplier<Integer,IOException> readAsync(char[] buf, int offset, int length)
boolean endReached()
default int readFullySync(char[] buf,
int offset,
int length)
throws IOException
IOExceptiondefault AsyncSupplier<Integer,IOException> readFullyAsync(char[] buf, int offset, int length)
Copyright © 2019. All rights reserved.