A C E F G H I J P R S T W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- asSet(int[]) - Static method in class com.simtechdata.process.Helper
- asSet(T...) - Static method in class com.simtechdata.process.Helper
C
- clearEnvironment() - Method in class com.simtechdata.process.ProcBuilder
-
Clears the environment before setting new variables.
- com.simtechdata.process - package com.simtechdata.process
- consume(InputStream) - Method in interface com.simtechdata.process.StreamConsumer
-
Consume something until the bitter end.
E
- ExternalProcessFailureException - Exception in com.simtechdata.process
-
Signals the failure of an external process that returned a non-zero exit code.
F
- filter(String, String, String...) - Static method in class com.simtechdata.process.ProcBuilder
-
Static helper to filter a string through a process
G
- getCommand() - Method in exception com.simtechdata.process.ExternalProcessFailureException
-
Deprecated.Use getCommandLine
- getCommandLine() - Method in exception com.simtechdata.process.ExternalProcessFailureException
- getCommandLine() - Method in class com.simtechdata.process.ProcBuilder
- getCommandLine() - Method in class com.simtechdata.process.ProcResult
- getErrorBytes() - Method in class com.simtechdata.process.ProcResult
- getErrorString() - Method in class com.simtechdata.process.ProcResult
- getExecutionTime() - Method in class com.simtechdata.process.ProcResult
- getExitValue() - Method in exception com.simtechdata.process.ExternalProcessFailureException
- getExitValue() - Method in class com.simtechdata.process.ProcResult
- getMessage() - Method in exception com.simtechdata.process.ExternalProcessFailureException
- getOutputBytes() - Method in class com.simtechdata.process.ProcResult
- getOutputString() - Method in class com.simtechdata.process.ProcResult
- getProcString() - Method in class com.simtechdata.process.ProcBuilder
-
Deprecated.Use getCommandLine instead.
- getProcString() - Method in class com.simtechdata.process.ProcResult
-
Deprecated.Use #getCommandLine() instead.
- getStderr() - Method in exception com.simtechdata.process.ExternalProcessFailureException
- getTime() - Method in exception com.simtechdata.process.ExternalProcessFailureException
H
- Helper - Class in com.simtechdata.process
- Helper() - Constructor for class com.simtechdata.process.Helper
I
- ignoreExitStatus() - Method in class com.simtechdata.process.ProcBuilder
-
Ignore the error status returned from this command
J
- JavaProc - module JavaProc
P
- ProcBuilder - Class in com.simtechdata.process
-
A builder to construct a new process.
- ProcBuilder(String, String...) - Constructor for class com.simtechdata.process.ProcBuilder
-
Creates a new ProcBuilder
- ProcResult - Class in com.simtechdata.process
-
Represents the result of a successful process execution.
R
- run() - Method in class com.simtechdata.process.ProcBuilder
-
Spawn the actual execution.
- run(String, String...) - Static method in class com.simtechdata.process.ProcBuilder
-
Static helper to run a process
S
- StartupException - Exception in com.simtechdata.process
-
Signals a problem starting an external process (missing binary)
- StartupException(String, Throwable) - Constructor for exception com.simtechdata.process.StartupException
- StreamConsumer - Interface in com.simtechdata.process
T
- TimeoutException - Exception in com.simtechdata.process
-
Signals a timeout
W
- withArg(String) - Method in class com.simtechdata.process.ProcBuilder
-
Adds another argument
- withArgs(String...) - Method in class com.simtechdata.process.ProcBuilder
-
Add multiple args
- withErrorConsumer(StreamConsumer) - Method in class com.simtechdata.process.ProcBuilder
-
Process the error output with given consumer object
- withErrorStream(OutputStream) - Method in class com.simtechdata.process.ProcBuilder
-
Redirecting the error output.
- withExitStatuses(int[]) - Method in class com.simtechdata.process.ProcBuilder
-
Deprecated.Please use the variants with a set or vargs parameters
- withExpectedExitStatuses(int...) - Method in class com.simtechdata.process.ProcBuilder
-
Define the valid exit status codes for the command Convenience method taking varargs.
- withExpectedExitStatuses(Set<Integer>) - Method in class com.simtechdata.process.ProcBuilder
-
Define the valid exit status codes for the command
- withInput(byte[]) - Method in class com.simtechdata.process.ProcBuilder
-
Supply the input as byte[]
- withInput(String) - Method in class com.simtechdata.process.ProcBuilder
-
Supply the input as string
- withInputStream(InputStream) - Method in class com.simtechdata.process.ProcBuilder
-
Take the input for the program from a given InputStream
- withNoTimeout() - Method in class com.simtechdata.process.ProcBuilder
-
Disable timeout for the operation.
- withOutputConsumer(StreamConsumer) - Method in class com.simtechdata.process.ProcBuilder
-
Process the standard output with the given consumer object
- withOutputStream(OutputStream) - Method in class com.simtechdata.process.ProcBuilder
-
Redirecting the standard output.
- withTimeoutMillis(long) - Method in class com.simtechdata.process.ProcBuilder
-
Specify a timeout for the operation.
- withVar(String, String) - Method in class com.simtechdata.process.ProcBuilder
-
Add a variable to the process's environment
- withVars(Map<String, String>) - Method in class com.simtechdata.process.ProcBuilder
-
Add multiple variables to the process's environment
- withWorkingDirectory(File) - Method in class com.simtechdata.process.ProcBuilder
-
Override the working directory
All Classes All Packages