public interface InputReader extends Closeable
For safe usage in
InputReaderTask implementation of this
interface has to be responsive to interruption.
|Modifier and Type||Method and Description|
Closes the reader releasing the resources held by it.
Reads some input and process it through the processor (if any).
int readInput(@NullAllowed InputProcessor processor) throws IOException
Implementation of this method has to be non blocking
for safe usage in
processor- consumer of read characters, mey be
IOException- if any read or process error occurs
Built on August 21 2017. | Portions Copyright 1997-2017 Oracle. All rights reserved.