|
org.netbeans.modules.extexecution/2 1.25.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InputProcessor
Processes chars read by InputReader
.
When the implementation is used just by single InputReader it does not have to be thread safe.
InputReader
Method Summary | |
---|---|
void |
close()
Closes the processor releasing the resources held by it. |
void |
processInput(char[] chars)
Processes the characters. |
void |
reset()
Notifies the processor that it should reset its state. |
Method Detail |
---|
void processInput(@NonNull char[] chars) throws IOException
chars
- characters to process
IOException
- 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 Closeable
IOException
|
org.netbeans.modules.extexecution/2 1.25.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |