InputProcessor@Deprecated public interface InputProcessor extends Closeable
InputReader.
When the implementation is used just by single InputReader it does not have to be thread safe.
InputReader| Modifier and Type | Method and Description |
|---|---|
void |
close()
Deprecated.
Closes the processor releasing the resources held by it.
|
void |
processInput(char[] chars)
Deprecated.
Processes the characters.
|
void |
reset()
Deprecated.
Notifies the processor that it should reset its state.
|
void processInput(@NonNull char[] chars) throws IOException
chars - characters to processIOException - if any processing error occursvoid reset()
throws IOException
The circumstances when this method is called must be defined
by the particular InputReader.
InputReaders.forFileInputProvider(org.netbeans.api.extexecution.input.InputReaders.FileInput.Provider)
when the provided file is changed.
IOException - if error occurs while resetingvoid close()
throws IOException
close in interface AutoCloseableclose in interface CloseableIOException