protected class UnprotectedStringBuffer.CS extends ConcurrentCloseable implements ICharacterStream.Readable.Buffered
ICharacterStream.Readable.BufferedICharacterStream.Readable, ICharacterStream.Writable, ICharacterStream.WriterAsyncCloseableListenable.Impl| Modifier | Constructor and Description |
|---|---|
protected |
CS() |
| Modifier and Type | Method and Description |
|---|---|
void |
back(char c)
Put back one character.
|
ISynchronizationPoint<IOException> |
canStartReading()
Return a synchronization point which is unblocked once some characters have been buffered.
|
protected void |
closeResources(SynchronizationPoint<Exception> ondone) |
protected ISynchronizationPoint<?> |
closeUnderlyingResources() |
boolean |
endReached()
Return true if the end of the stream has been reached, and no more character can be read.
|
String |
getDescription()
Description.
|
Charset |
getEncoding()
Return the encoding of the stream.
|
byte |
getPriority()
Return the priority.
|
char |
read()
Read one character.
|
int |
readAsync()
Read one character if possible.
|
AsyncWork<Integer,IOException> |
readAsync(char[] buf,
int offset,
int length)
Read characters.
|
int |
readSync(char[] buf,
int offset,
int length)
Read characters.
|
void |
setPriority(byte priority)
Change the priority (see Task priorities).
|
addCloseListener, addCloseListener, close, closeAsync, isClosed, isClosing, lockClose, operation, operation, removeCloseListener, removeCloseListener, unlockCloseclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreadFullyAsync, readFullySynclockClose, unlockCloseclosecloseAsyncaddCloseListener, addCloseListener, close, isClosed, removeCloseListener, removeCloseListenerprotected ISynchronizationPoint<?> closeUnderlyingResources()
closeUnderlyingResources in class ConcurrentCloseableprotected void closeResources(SynchronizationPoint<Exception> ondone)
closeResources in class ConcurrentCloseablepublic String getDescription()
ICharacterStreamgetDescription in interface ICharacterStreampublic Charset getEncoding()
ICharacterStreamgetEncoding in interface ICharacterStreampublic char read()
throws EOFException
ICharacterStream.Readable.Bufferedread in interface ICharacterStream.Readable.BufferedEOFExceptionpublic int readSync(char[] buf,
int offset,
int length)
ICharacterStream.ReadablereadSync in interface ICharacterStream.Readablepublic int readAsync()
ICharacterStream.Readable.BufferedreadAsync in interface ICharacterStream.Readable.Bufferedpublic AsyncWork<Integer,IOException> readAsync(char[] buf, int offset, int length)
ICharacterStream.ReadablereadAsync in interface ICharacterStream.Readablepublic byte getPriority()
ConcurrentCloseablegetPriority in interface ICharacterStreamgetPriority in class ConcurrentCloseablepublic void setPriority(byte priority)
ICharacterStreamsetPriority in interface ICharacterStreampublic void back(char c)
ICharacterStream.Readable.Bufferedback in interface ICharacterStream.Readable.Bufferedpublic boolean endReached()
ICharacterStream.ReadableendReached in interface ICharacterStream.Readablepublic ISynchronizationPoint<IOException> canStartReading()
ICharacterStream.Readable.BufferedcanStartReading in interface ICharacterStream.Readable.BufferedCopyright © 2018. All rights reserved.