Uses of Interface
com.norconex.commons.lang.io.InputStreamListener
Packages that use InputStreamListener
Package
Description
Utility classes related to process/code execution.
Utility classes when dealing with files and directories.
-
Uses of InputStreamListener in com.norconex.commons.lang.exec
Methods in com.norconex.commons.lang.exec that return types with arguments of type InputStreamListenerModifier and TypeMethodDescriptionSystemCommand.getErrorListeners()Gets an unmodifiable list of error (STDERR) listeners.SystemCommand.getOutputListeners()Gets an unmodifiable list of output (STDOUT) listeners.Methods in com.norconex.commons.lang.exec with parameters of type InputStreamListenerModifier and TypeMethodDescriptionvoidSystemCommand.addErrorListener(InputStreamListener listener) Adds an error (STDERR) listener to this system command.voidSystemCommand.addOutputListener(InputStreamListener listener) Adds an output (STDOUT) listener to this system command.voidSystemCommand.removeErrorListener(InputStreamListener listener) Removes an error (STDERR) listener.voidSystemCommand.removeOutputListener(InputStreamListener listener) Removes an output (STDOUT) listener.static intExecUtil.watchProcess(Process process, InputStreamListener listener) Watches a running process.static intExecUtil.watchProcess(Process process, InputStreamListener[] listeners) Watches a running process.static intExecUtil.watchProcess(Process process, InputStreamListener[] outputListeners, InputStreamListener[] errorListeners) Watches a running process.static intExecUtil.watchProcess(Process process, InputStreamListener outputListener, InputStreamListener errorListener) Watches a running process.static intExecUtil.watchProcess(Process process, InputStream input, InputStreamListener[] outputListeners, InputStreamListener[] errorListeners) Watches a running process while sending data to its STDIN.static voidExecUtil.watchProcessAsync(Process process, InputStreamListener[] outputListeners, InputStreamListener[] errorListeners) Watches process output.static voidExecUtil.watchProcessAsync(Process process, InputStreamListener outputListener, InputStreamListener errorListener) Watches process output.static voidExecUtil.watchProcessAsync(Process process, InputStream input, InputStreamListener[] outputListeners, InputStreamListener[] errorListeners) Watches process output while sending data to its STDIN. -
Uses of InputStreamListener in com.norconex.commons.lang.io
Subinterfaces of InputStreamListener in com.norconex.commons.lang.ioClasses in com.norconex.commons.lang.io that implement InputStreamListenerModifier and TypeClassDescriptionclassListener that is being notified every time a line is processed from a given stream.Methods in com.norconex.commons.lang.io that return InputStreamListenerModifier and TypeMethodDescriptionInputStreamConsumer.getStreamListeners()Returns stream listeners.Methods in com.norconex.commons.lang.io with parameters of type InputStreamListenerModifier and TypeMethodDescriptionstatic voidInputStreamConsumer.consume(InputStream input, int chunkSize, String type, InputStreamListener... listeners) Convenience method for creasing a consumer instance, starting it, and waiting for it to complete.static voidInputStreamConsumer.consume(InputStream input, String type, InputStreamListener... listeners) Convenience method for creating a consumer instance and starting it.static voidInputStreamConsumer.consumeAndWait(InputStream input, int chunkSize, String type, InputStreamListener... listeners) Convenience method for creasing a consumer instance, starting it, and waiting for it to complete.static voidInputStreamConsumer.consumeAndWait(InputStream input, String type, InputStreamListener... listeners) Convenience method for creasing a consumer instance and starting it.Constructors in com.norconex.commons.lang.io with parameters of type InputStreamListenerModifierConstructorDescriptionInputStreamConsumer(InputStream input, int chunkSize, String type, InputStreamListener... listeners) Constructor.InputStreamConsumer(InputStream input, String type, InputStreamListener... listeners) Constructor.
InputStreamListenerinstead.