org.netbeans.api.extexecution.input
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()
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.
|
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 Closeable
IOException
Built on March 18 2014. | Portions Copyright 1997-2014 Sun Microsystems, Inc. All rights reserved.