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