Package | Description |
---|---|
com.zaxxer.nuprocess |
Provides the primary classes and interfaces for executing and interacting with
processes in an asynchronous manner.
|
com.zaxxer.nuprocess.codec |
Modifier and Type | Class and Description |
---|---|
class |
NuAbstractProcessHandler
Convenience base class for a
NuProcessHandler with default methods
that can be overridden. |
Modifier and Type | Method and Description |
---|---|
void |
NuProcess.setProcessHandler(NuProcessHandler processHandler)
Sets a new process handler for this
NuProcess instance. |
void |
NuProcessBuilder.setProcessListener(NuProcessHandler listener)
Set the
NuProcessHandler instance that will be used for the next
and subsequent launch of a NuProcess when calling the
NuProcessBuilder.start() method. |
Constructor and Description |
---|
NuProcessBuilder(NuProcessHandler nuProcessHandler,
List<String> commands)
Constructs a process builder with the specified
NuProcessHandler
and operating system program and arguments. |
NuProcessBuilder(NuProcessHandler nuProcessHandler,
String... commands)
Constructs a process builder with the specified
NuProcessHandler
and operating system program and arguments. |
Modifier and Type | Class and Description |
---|---|
class |
NuAbstractCharsetHandler
Convenience implementation of
NuProcessHandler which decodes stdin,
stdout, and stderr bytes to and from Java UTF-16 string data using a
Charset or separate CharsetDecoder and CharsetEncoders . |
Copyright © 2015 Zaxxer.com. All rights reserved.