A B C D E F G H I L M N O P R S T U V W 
All Classes All Packages

A

add(IOException, IOException) - Static method in class org.zeroturnaround.exec.close.StandardProcessCloser
 
add(Process) - Method in interface org.zeroturnaround.exec.listener.ProcessDestroyer
Returns true if the specified Process was successfully added to the list of processes to be destroy.
add(Process) - Method in class org.zeroturnaround.exec.listener.ShutdownHookProcessDestroyer
Returns true if the specified Process was successfully added to the list of processes to destroy upon VM exit.
add(ProcessListener) - Method in class org.zeroturnaround.exec.listener.CompositeProcessListener
Add new listener.
addDestroyer(ProcessDestroyer) - Method in class org.zeroturnaround.exec.ProcessExecutor
Adds a process destroyer to be notified when the process starts and stops.
added - Variable in class org.zeroturnaround.exec.listener.ShutdownHookProcessDestroyer
Whether or not this ProcessDestroyer has been registered as a shutdown hook
addExceptionMessageSuffix(StringBuilder) - Method in class org.zeroturnaround.exec.WaitForProcess
Adds a suffix for an error message including: executed command working directory (unless it's inherited from parent) environment (unless it's the same with the parent) output read so far (unless it's not read)
addExceptionMessageSuffix(ProcessAttributes, StringBuilder, ProcessOutput) - Static method in class org.zeroturnaround.exec.InvalidExitUtil
 
addListener(ProcessListener) - Method in class org.zeroturnaround.exec.ProcessExecutor
Register new process event handler.
addShutdownHook() - Method in class org.zeroturnaround.exec.listener.ShutdownHookProcessDestroyer
Registers this ProcessDestroyer as a shutdown hook, uses reflection to ensure pre-JDK 1.3 compatibility.
addSuppressed(Throwable, Throwable) - Static method in class org.zeroturnaround.exec.close.ExceptionUtil
If supported.
AFTER_CODE - Static variable in exception org.zeroturnaround.exec.ProcessInitException
 
afterFinish(Process, ProcessResult) - Method in class org.zeroturnaround.exec.listener.CompositeProcessListener
 
afterFinish(Process, ProcessResult) - Method in class org.zeroturnaround.exec.listener.ProcessListener
Invoked after a process has finished successfully.
afterStart(Process, ProcessExecutor) - Method in class org.zeroturnaround.exec.listener.CompositeProcessListener
 
afterStart(Process, ProcessExecutor) - Method in class org.zeroturnaround.exec.listener.DestroyerListenerAdapter
 
afterStart(Process, ProcessExecutor) - Method in class org.zeroturnaround.exec.listener.ProcessListener
Invoked after a process has started.
afterStop(Process) - Method in class org.zeroturnaround.exec.listener.CompositeProcessListener
 
afterStop(Process) - Method in class org.zeroturnaround.exec.listener.DestroyerListenerAdapter
 
afterStop(Process) - Method in class org.zeroturnaround.exec.listener.ProcessListener
Invoked after a process has exited (whether finished or cancelled).
allowedExitValues - Variable in class org.zeroturnaround.exec.ProcessAttributes
Set of accepted exit codes or null if all exit codes are allowed.
allowedExitValues - Variable in class org.zeroturnaround.exec.ProcessExecutor
Set of accepted exit codes or null if all exit codes are allowed.
applyEnvironment() - Method in class org.zeroturnaround.exec.ProcessExecutor
 
as(Level) - Method in class org.zeroturnaround.exec.stream.slf4j.Slf4jStream
 
asDebug() - Method in class org.zeroturnaround.exec.stream.slf4j.Slf4jStream
 
asError() - Method in class org.zeroturnaround.exec.stream.slf4j.Slf4jStream
 
asInfo() - Method in class org.zeroturnaround.exec.stream.slf4j.Slf4jStream
 
asTrace() - Method in class org.zeroturnaround.exec.stream.slf4j.Slf4jStream
 
asWarn() - Method in class org.zeroturnaround.exec.stream.slf4j.Slf4jStream
 
attributes - Variable in class org.zeroturnaround.exec.WaitForProcess
Set of main attributes used to start the process.

B

BEFORE_CODE - Static variable in exception org.zeroturnaround.exec.ProcessInitException
 
beforeStart(ProcessExecutor) - Method in class org.zeroturnaround.exec.listener.CompositeProcessListener
 
beforeStart(ProcessExecutor) - Method in class org.zeroturnaround.exec.listener.ProcessListener
Invoked before a process is started.
buffer - Variable in class org.zeroturnaround.exec.stream.LogOutputStream
the internal buffer
builder - Variable in class org.zeroturnaround.exec.ProcessExecutor
Process builder used by this executor.

C

call() - Method in class org.zeroturnaround.exec.MDCCallableAdapter
 
call() - Method in class org.zeroturnaround.exec.WaitForProcess
 
CallerLoggerUtil - Class in org.zeroturnaround.exec.stream
Constructs name for the caller logger.
CallerLoggerUtil() - Constructor for class org.zeroturnaround.exec.stream.CallerLoggerUtil
 
checkExit(ProcessAttributes, ProcessResult) - Static method in class org.zeroturnaround.exec.InvalidExitUtil
Check the process exit value.
checkExitValue(ProcessResult) - Method in class org.zeroturnaround.exec.ProcessExecutor
Check the exit value of given process result.
children - Variable in class org.zeroturnaround.exec.listener.CompositeProcessListener
 
clear() - Method in class org.zeroturnaround.exec.listener.CompositeProcessListener
Remove all existing listeners.
clearListeners() - Method in class org.zeroturnaround.exec.ProcessExecutor
Unregister all existing process event handlers.
clone() - Method in class org.zeroturnaround.exec.listener.CompositeProcessListener
 
close() - Method in class org.zeroturnaround.exec.stream.LogOutputStream
Writes all remaining data from the buffer.
close() - Method in class org.zeroturnaround.exec.stream.TeeOutputStream
Closes both output streams
close(Process) - Method in interface org.zeroturnaround.exec.close.ProcessCloser
Closes standard streams of a given sub process.
close(Process) - Method in class org.zeroturnaround.exec.close.StandardProcessCloser
 
close(Process) - Method in class org.zeroturnaround.exec.close.TimeoutProcessCloser
 
closer - Variable in class org.zeroturnaround.exec.WaitForProcess
Helper for closing the process' standard streams.
closeStreams(Process) - Method in class org.zeroturnaround.exec.close.StandardProcessCloser
Close the streams belonging to the given Process.
closeTimeout - Variable in class org.zeroturnaround.exec.ProcessExecutor
Timeout for closing process' standard streams.
closeTimeout(long, TimeUnit) - Method in class org.zeroturnaround.exec.ProcessExecutor
Sets a timeout for closing standard streams of the process being executed.
closeTimeoutUnit - Variable in class org.zeroturnaround.exec.ProcessExecutor
 
closeWhenExhausted - Variable in class org.zeroturnaround.exec.stream.StreamPumper
close the output stream when exhausted
command - Variable in class org.zeroturnaround.exec.ProcessAttributes
The external program and its arguments.
command(Iterable<String>) - Method in class org.zeroturnaround.exec.ProcessExecutor
Sets the program and its arguments which are being executed.
command(String...) - Method in class org.zeroturnaround.exec.ProcessExecutor
Sets the program and its arguments which are being executed.
command(List<String>) - Method in class org.zeroturnaround.exec.ProcessExecutor
Sets the program and its arguments which are being executed.
commandSplit(String) - Method in class org.zeroturnaround.exec.ProcessExecutor
Splits string by spaces and passes it to ProcessExecutor.command(String...)
NB: this method do not handle whitespace escaping, "mkdir new\ folder" would be interpreted as {"mkdir", "new\", "folder"} command.
CompositeProcessListener - Class in org.zeroturnaround.exec.listener
Composite process event handler.
CompositeProcessListener() - Constructor for class org.zeroturnaround.exec.listener.CompositeProcessListener
 
CompositeProcessListener(List<ProcessListener>) - Constructor for class org.zeroturnaround.exec.listener.CompositeProcessListener
 
contextMap - Variable in class org.zeroturnaround.exec.MDCCallableAdapter
 
contextMap - Variable in class org.zeroturnaround.exec.MDCRunnableAdapter
 
CR - Static variable in class org.zeroturnaround.exec.stream.LogOutputStream
Carriage return
createProcessErrorPump(InputStream, OutputStream) - Method in class org.zeroturnaround.exec.stream.PumpStreamHandler
Create the pump to handle error output.
createProcessOutputPump(InputStream, OutputStream) - Method in class org.zeroturnaround.exec.stream.PumpStreamHandler
Create the pump to handle process output.
createPump(InputStream, OutputStream) - Method in class org.zeroturnaround.exec.stream.PumpStreamHandler
Creates a stream pumper to copy the given input stream to the given output stream.
createPump(InputStream, OutputStream, boolean) - Method in class org.zeroturnaround.exec.stream.PumpStreamHandler
Creates a stream pumper to copy the given input stream to the given output stream.
createPump(InputStream, OutputStream, boolean, boolean) - Method in class org.zeroturnaround.exec.stream.PumpStreamHandler
Creates a stream pumper to copy the given input stream to the given output stream.
createSystemInPump(InputStream, OutputStream) - Method in class org.zeroturnaround.exec.stream.PumpStreamHandler
Creates a stream pumper to copy the given input stream to the given output stream.

D

data - Variable in class org.zeroturnaround.exec.ProcessOutput
Process output (not null).
debug() - Method in class org.zeroturnaround.exec.ProcessExecutor
debug(String) - Method in class org.zeroturnaround.exec.ProcessExecutor
debug(Logger) - Method in class org.zeroturnaround.exec.ProcessExecutor
DEBUG - org.zeroturnaround.exec.stream.slf4j.Level
 
DEBUG - Static variable in class org.zeroturnaround.exec.MessageLoggers
 
DEFAULT_EXIT_VALUES - Static variable in class org.zeroturnaround.exec.ProcessExecutor
 
DEFAULT_REDIRECT_ERROR_STREAM - Static variable in class org.zeroturnaround.exec.ProcessExecutor
 
DEFAULT_SIZE - Static variable in class org.zeroturnaround.exec.stream.StreamPumper
the default size of the internal buffer for copying the streams
destroy(Process) - Method in class org.zeroturnaround.exec.listener.ShutdownHookProcessDestroyer
 
destroyer - Variable in class org.zeroturnaround.exec.listener.DestroyerListenerAdapter
 
destroyer(ProcessDestroyer) - Method in class org.zeroturnaround.exec.ProcessExecutor
Sets the process destroyer to be notified when the process starts and stops.
DestroyerListenerAdapter - Class in org.zeroturnaround.exec.listener
Process event handler that wraps a process destroyer.
DestroyerListenerAdapter(ProcessDestroyer) - Constructor for class org.zeroturnaround.exec.listener.DestroyerListenerAdapter
 
destroyOnExit() - Method in class org.zeroturnaround.exec.ProcessExecutor
Sets the started process to be destroyed on VM exit (shutdown hooks are executed).
DestroyProcessStopper - Class in org.zeroturnaround.exec.stop
Default ProcessStopper implementation that just invokes Process.destroy().
DestroyProcessStopper() - Constructor for class org.zeroturnaround.exec.stop.DestroyProcessStopper
 
destroyProcessThread - Variable in class org.zeroturnaround.exec.listener.ShutdownHookProcessDestroyer
The thread registered at the JVM to execute the shutdown handler
directory - Variable in class org.zeroturnaround.exec.ProcessAttributes
Working directory, null in case of current working directory.
directory(File) - Method in class org.zeroturnaround.exec.ProcessExecutor
Sets this working directory for the process being executed.
doClose(Process) - Method in class org.zeroturnaround.exec.close.TimeoutProcessCloser
 

E

environment - Variable in class org.zeroturnaround.exec.ProcessAttributes
Environment variables which are added (removed in case of null values) to the started process.
environment - Variable in class org.zeroturnaround.exec.ProcessExecutor
Environment variables which are added (removed in case of null values) to the process being started.
environment(String, String) - Method in class org.zeroturnaround.exec.ProcessExecutor
Adds a single additional environment variable for the process being executed.
environment(Map<String, String>) - Method in class org.zeroturnaround.exec.ProcessExecutor
Adds additional environment variables for the process being executed.
err - Variable in class org.zeroturnaround.exec.stream.PumpStreamHandler
 
ERROR - org.zeroturnaround.exec.stream.slf4j.Level
 
errorCode - Variable in exception org.zeroturnaround.exec.ProcessInitException
 
errorThread - Variable in class org.zeroturnaround.exec.stream.PumpStreamHandler
 
ExceptionUtil - Class in org.zeroturnaround.exec.close
 
ExceptionUtil() - Constructor for class org.zeroturnaround.exec.close.ExceptionUtil
 
execute() - Method in class org.zeroturnaround.exec.ProcessExecutor
Executes the sub process.
executeNoTimeout() - Method in class org.zeroturnaround.exec.ProcessExecutor
Executes the sub process.
ExecuteStreamHandler - Interface in org.zeroturnaround.exec.stream
Used by Execute to handle input and output stream of subprocesses.
exitValue - Variable in class org.zeroturnaround.exec.ProcessResult
Exit value of the finished process.
exitValue() - Method in exception org.zeroturnaround.exec.InvalidResultException
Deprecated.
exitValue() - Method in class org.zeroturnaround.exec.ProcessResult
exitValue(Integer) - Method in class org.zeroturnaround.exec.ProcessExecutor
Sets the allowed exit value for the process being executed.
exitValueAny() - Method in class org.zeroturnaround.exec.ProcessExecutor
Allows any exit value for the process being executed.
exitValueNormal() - Method in class org.zeroturnaround.exec.ProcessExecutor
Allows only 0 as the exit value for the process being executed.
exitValues(int[]) - Method in class org.zeroturnaround.exec.ProcessExecutor
Sets the allowed exit values for the process being executed.
exitValues(Integer...) - Method in class org.zeroturnaround.exec.ProcessExecutor
Sets the allowed exit values for the process being executed.

F

findAddSuppressed() - Static method in class org.zeroturnaround.exec.close.ExceptionUtil
 
finished - Variable in class org.zeroturnaround.exec.stream.StreamPumper
was the end of the stream reached
fixArguments(List<String>) - Static method in class org.zeroturnaround.exec.ProcessExecutor
Fixes the command line arguments on Windows by replacing empty arguments with "".
flush() - Method in class org.zeroturnaround.exec.stream.LogOutputStream
Flush this log stream.
flush() - Method in class org.zeroturnaround.exec.stream.PumpStreamHandler
 
flush() - Method in class org.zeroturnaround.exec.stream.TeeOutputStream
Flush both output streams.
flushImmediately - Variable in class org.zeroturnaround.exec.stream.StreamPumper
flush the output stream after each write
future - Variable in class org.zeroturnaround.exec.StartedProcess
The asynchronous result of the started process.
future() - Method in class org.zeroturnaround.exec.StartedProcess
Deprecated.

G

get(Level) - Static method in class org.zeroturnaround.exec.MessageLoggers
 
getAllowedExitValues() - Method in class org.zeroturnaround.exec.ProcessAttributes
 
getAttributes() - Method in class org.zeroturnaround.exec.ProcessExecutor
Capture a snapshot of this process executor's main state.
getBytes() - Method in class org.zeroturnaround.exec.ProcessOutput
 
getCallerClassName(int) - Static method in class org.zeroturnaround.exec.stream.CallerLoggerUtil
 
getCallerLogger(String) - Method in class org.zeroturnaround.exec.ProcessExecutor
Creates a Logger for the ProcessExecutor's caller class.
getCommand() - Method in class org.zeroturnaround.exec.ProcessAttributes
 
getCommand() - Method in class org.zeroturnaround.exec.ProcessExecutor
Returns this process executor's operating system program and arguments.
getCurrentOutput() - Method in class org.zeroturnaround.exec.WaitForProcess
 
getDirectory() - Method in class org.zeroturnaround.exec.ProcessAttributes
 
getDirectory() - Method in class org.zeroturnaround.exec.ProcessExecutor
Returns this process executor's working directory.
getEnvironment() - Method in class org.zeroturnaround.exec.ProcessAttributes
 
getEnvironment() - Method in class org.zeroturnaround.exec.ProcessExecutor
Returns this process executor's additional environment variables.
getErr() - Method in class org.zeroturnaround.exec.stream.PumpStreamHandler
Get the error stream.
getErrorCode() - Method in exception org.zeroturnaround.exec.ProcessInitException
 
getExecutingErrorMessage() - Method in class org.zeroturnaround.exec.ProcessExecutor
 
getExecutingLogMessage() - Method in class org.zeroturnaround.exec.ProcessExecutor
 
getExecutingMessageParams() - Method in class org.zeroturnaround.exec.ProcessExecutor
 
getExitCodeOrNull(Process) - Static method in class org.zeroturnaround.exec.ProcessExecutor
 
getExitValue() - Method in exception org.zeroturnaround.exec.InvalidResultException
 
getExitValue() - Method in class org.zeroturnaround.exec.ProcessResult
 
getFuture() - Method in class org.zeroturnaround.exec.StartedProcess
 
getInput() - Method in class org.zeroturnaround.exec.stream.PumpStreamHandler
Get the input stream.
getLines() - Method in class org.zeroturnaround.exec.ProcessOutput
 
getLines(String) - Method in class org.zeroturnaround.exec.ProcessOutput
 
getLinesAsUTF8() - Method in class org.zeroturnaround.exec.ProcessOutput
 
getLinesFrom(String) - Static method in class org.zeroturnaround.exec.ProcessOutput
 
getLogger() - Method in class org.zeroturnaround.exec.stream.slf4j.Slf4jOutputStream
 
getName(String) - Static method in class org.zeroturnaround.exec.stream.CallerLoggerUtil
Returns full name for the caller class' logger.
getName(String, int) - Static method in class org.zeroturnaround.exec.stream.CallerLoggerUtil
Returns full name for the caller class' logger.
getOut() - Method in class org.zeroturnaround.exec.stream.PumpStreamHandler
Get the output stream.
getOutput() - Method in class org.zeroturnaround.exec.ProcessResult
 
getProcess() - Method in class org.zeroturnaround.exec.StartedProcess
 
getProcess() - Method in class org.zeroturnaround.exec.WaitForProcess
 
getResult() - Method in exception org.zeroturnaround.exec.InvalidResultException
 
getStackTrace() - Method in class org.zeroturnaround.exec.WaitForProcess
 
getString() - Method in class org.zeroturnaround.exec.ProcessOutput
 
getString(String) - Method in class org.zeroturnaround.exec.ProcessOutput
 
getUnitsAsString(long, TimeUnit) - Static method in class org.zeroturnaround.exec.close.TimeoutProcessCloser
 
getUnitsAsString(long, TimeUnit) - Static method in class org.zeroturnaround.exec.ProcessExecutor
 
getUTF8() - Method in class org.zeroturnaround.exec.ProcessOutput
 

H

hasOutput() - Method in class org.zeroturnaround.exec.ProcessResult
 

I

info() - Method in class org.zeroturnaround.exec.ProcessExecutor
info(String) - Method in class org.zeroturnaround.exec.ProcessExecutor
info(Logger) - Method in class org.zeroturnaround.exec.ProcessExecutor
INFO - org.zeroturnaround.exec.stream.slf4j.Level
 
INFO - Static variable in class org.zeroturnaround.exec.MessageLoggers
 
input - Variable in class org.zeroturnaround.exec.stream.PumpStreamHandler
 
inputStreamPumper - Variable in class org.zeroturnaround.exec.stream.PumpStreamHandler
 
InputStreamPumper - Class in org.zeroturnaround.exec.stream
Copies all data from an System.input stream to an output stream of the executed process.
InputStreamPumper(InputStream, OutputStream) - Constructor for class org.zeroturnaround.exec.stream.InputStreamPumper
Create a new stream pumper.
inputThread - Variable in class org.zeroturnaround.exec.stream.PumpStreamHandler
 
INSTANCE - Static variable in class org.zeroturnaround.exec.listener.ShutdownHookProcessDestroyer
Singleton instance of the ShutdownHookProcessDestroyer.
INSTANCE - Static variable in class org.zeroturnaround.exec.stop.DestroyProcessStopper
Singleton instance of the DestroyProcessStopper.
INSTANCE - Static variable in class org.zeroturnaround.exec.stop.NopProcessStopper
Singleton instance of the NopProcessStopper.
INTIAL_SIZE - Static variable in class org.zeroturnaround.exec.stream.LogOutputStream
Initial buffer size.
InvalidExitUtil - Class in org.zeroturnaround.exec
Helper for checking the exit code of the finished process.
InvalidExitUtil() - Constructor for class org.zeroturnaround.exec.InvalidExitUtil
 
InvalidExitValueException - Exception in org.zeroturnaround.exec
Process finished with a forbidden exit value.
InvalidExitValueException(String, ProcessResult) - Constructor for exception org.zeroturnaround.exec.InvalidExitValueException
 
InvalidOutputException - Exception in org.zeroturnaround.exec
Process finished with an unexpected output.
InvalidOutputException(String, ProcessResult) - Constructor for exception org.zeroturnaround.exec.InvalidOutputException
 
InvalidResultException - Exception in org.zeroturnaround.exec
Process finished with an unexpected result.
InvalidResultException(String, ProcessResult) - Constructor for exception org.zeroturnaround.exec.InvalidResultException
 
invokeStart() - Method in class org.zeroturnaround.exec.ProcessExecutor
 
invokeSubmit(ExecutorService, Callable<T>) - Method in class org.zeroturnaround.exec.ProcessExecutor
Override this to customize how the waiting task is started in the background.
is - Variable in class org.zeroturnaround.exec.stream.InputStreamPumper
the input stream to pump from
is - Variable in class org.zeroturnaround.exec.stream.StreamPumper
the input stream to pump from
IS_OS_WINDOWS - Static variable in class org.zeroturnaround.exec.ProcessExecutor
 
isAddedAsShutdownHook() - Method in class org.zeroturnaround.exec.listener.ShutdownHookProcessDestroyer
Returns whether or not the ProcessDestroyer is registered as as shutdown hook
isFinished() - Method in class org.zeroturnaround.exec.stream.StreamPumper
Tells whether the end of the stream has been reached.

L

lastReceivedByte - Variable in class org.zeroturnaround.exec.stream.LogOutputStream
 
left - Variable in class org.zeroturnaround.exec.stream.TeeOutputStream
 
Level - Enum in org.zeroturnaround.exec.stream.slf4j
Slf4j logging level.
Level() - Constructor for enum org.zeroturnaround.exec.stream.slf4j.Level
 
LF - Static variable in class org.zeroturnaround.exec.stream.LogOutputStream
Linefeed
listener - Variable in class org.zeroturnaround.exec.WaitForProcess
Process event listener (not null).
listener(ProcessListener) - Method in class org.zeroturnaround.exec.ProcessExecutor
Unregister all existing process event handlers and register new one.
listeners - Variable in class org.zeroturnaround.exec.ProcessExecutor
Process event handlers.
log - Static variable in class org.zeroturnaround.exec.close.StandardProcessCloser
 
log - Static variable in class org.zeroturnaround.exec.close.TimeoutProcessCloser
 
log - Static variable in class org.zeroturnaround.exec.listener.ShutdownHookProcessDestroyer
 
log - Static variable in class org.zeroturnaround.exec.ProcessExecutor
 
log - Static variable in class org.zeroturnaround.exec.stream.InputStreamPumper
 
log - Static variable in class org.zeroturnaround.exec.stream.PumpStreamHandler
 
log - Variable in class org.zeroturnaround.exec.stream.slf4j.Slf4jOutputStream
 
log - Variable in class org.zeroturnaround.exec.stream.slf4j.Slf4jStream
 
log - Static variable in class org.zeroturnaround.exec.stream.StreamPumper
 
log - Static variable in class org.zeroturnaround.exec.WaitForProcess
 
LogOutputStream - Class in org.zeroturnaround.exec.stream
Base class to connect a logging system to the output and/or error stream of then external process.
LogOutputStream() - Constructor for class org.zeroturnaround.exec.stream.LogOutputStream
 

M

MAX_OUTPUT_SIZE_IN_ERROR_MESSAGE - Static variable in class org.zeroturnaround.exec.InvalidExitUtil
In case InvalidExitValueException or TimeoutException is thrown and we have read the process output we include the output up to this length in the error message.
MDCCallableAdapter<T> - Class in org.zeroturnaround.exec
Restores the MDC context map for the target action.
MDCCallableAdapter(Callable<T>, Map) - Constructor for class org.zeroturnaround.exec.MDCCallableAdapter
 
MDCRunnableAdapter - Class in org.zeroturnaround.exec
Restores the MDC context map for the target action.
MDCRunnableAdapter(Runnable, Map) - Constructor for class org.zeroturnaround.exec.MDCRunnableAdapter
 
message(Logger, String, Object...) - Method in interface org.zeroturnaround.exec.MessageLogger
Log a message at certain level according to the specified format and arguments.
messageLogger - Variable in class org.zeroturnaround.exec.ProcessExecutor
Helper for logging messages about starting and waiting for the processes.
messageLogger - Variable in class org.zeroturnaround.exec.WaitForProcess
Helper for logging messages about starting and waiting for the processes.
MessageLogger - Interface in org.zeroturnaround.exec
Logs messages at certain level.
MessageLoggers - Class in org.zeroturnaround.exec
Contains MessageLogger instances for various log levels.
MessageLoggers() - Constructor for class org.zeroturnaround.exec.MessageLoggers
 
METHOD_ADD_SUPPRESSED - Static variable in class org.zeroturnaround.exec.close.ExceptionUtil
Throwable.addSuppressed(Throwable) added in Java 7.

N

NEW_INFIX - Static variable in exception org.zeroturnaround.exec.ProcessInitException
 
newExecutor(String) - Method in class org.zeroturnaround.exec.ProcessExecutor
 
newExecutor(WaitForProcess) - Method in class org.zeroturnaround.exec.ProcessExecutor
 
newInstance(String, IOException) - Static method in exception org.zeroturnaround.exec.ProcessInitException
Try to wrap a given IOException into a ProcessInitException.
newProcessCloser(ExecuteStreamHandler) - Method in class org.zeroturnaround.exec.ProcessExecutor
 
newThread(Runnable) - Method in class org.zeroturnaround.exec.stream.PumpStreamHandler
Override this to customize how the background task is created.
newTimeoutException(long, TimeUnit, WaitForProcess) - Method in class org.zeroturnaround.exec.ProcessExecutor
 
NOP - Static variable in class org.zeroturnaround.exec.MessageLoggers
 
NopProcessStopper - Class in org.zeroturnaround.exec.stop
ProcessStopper implementation that does nothing - it keeps the process running.
NopProcessStopper() - Constructor for class org.zeroturnaround.exec.stop.NopProcessStopper
 
NORMAL_EXIT_VALUE - Static variable in class org.zeroturnaround.exec.ProcessExecutor
 
NULL_OUTPUT_STREAM - Static variable in class org.zeroturnaround.exec.stream.NullOutputStream
A singleton.
NullOutputStream - Class in org.zeroturnaround.exec.stream
An OutputStream which ignores everything written to it.
NullOutputStream() - Constructor for class org.zeroturnaround.exec.stream.NullOutputStream
 

O

of(Class<?>) - Static method in class org.zeroturnaround.exec.stream.slf4j.Slf4jStream
 
of(Class<?>, String) - Static method in class org.zeroturnaround.exec.stream.slf4j.Slf4jStream
Constructs a logger from a class name and an additional name, appended to the end.
of(String) - Static method in class org.zeroturnaround.exec.stream.slf4j.Slf4jStream
 
of(Logger) - Static method in class org.zeroturnaround.exec.stream.slf4j.Slf4jStream
 
ofCaller() - Static method in class org.zeroturnaround.exec.stream.slf4j.Slf4jStream
 
org.zeroturnaround.exec - package org.zeroturnaround.exec
 
org.zeroturnaround.exec.close - package org.zeroturnaround.exec.close
 
org.zeroturnaround.exec.listener - package org.zeroturnaround.exec.listener
 
org.zeroturnaround.exec.stop - package org.zeroturnaround.exec.stop
 
org.zeroturnaround.exec.stream - package org.zeroturnaround.exec.stream
 
org.zeroturnaround.exec.stream.slf4j - package org.zeroturnaround.exec.stream.slf4j
 
os - Variable in class org.zeroturnaround.exec.stream.InputStreamPumper
the output stream to pmp into
os - Variable in class org.zeroturnaround.exec.stream.StreamPumper
the output stream to pmp into
out - Variable in class org.zeroturnaround.exec.stream.PumpStreamHandler
 
out - Variable in class org.zeroturnaround.exec.WaitForProcess
Buffer where the process output is redirected to or null if it's not used.
output - Variable in class org.zeroturnaround.exec.ProcessResult
Process output or null if it wasn't read.
output() - Method in class org.zeroturnaround.exec.ProcessResult
 
outputString() - Method in class org.zeroturnaround.exec.ProcessResult
 
outputString(String) - Method in class org.zeroturnaround.exec.ProcessResult
 
outputThread - Variable in class org.zeroturnaround.exec.stream.PumpStreamHandler
 
outputUTF8() - Method in class org.zeroturnaround.exec.ProcessResult
 

P

process - Variable in class org.zeroturnaround.exec.StartedProcess
The sub process started.
process - Variable in class org.zeroturnaround.exec.WaitForProcess
 
process() - Method in class org.zeroturnaround.exec.StartedProcess
Deprecated.
ProcessAttributes - Class in org.zeroturnaround.exec
Immutable set of attributes used to start a process.
ProcessAttributes(List<String>, File, Map<String, String>, Set<Integer>) - Constructor for class org.zeroturnaround.exec.ProcessAttributes
 
processBuffer() - Method in class org.zeroturnaround.exec.stream.LogOutputStream
Converts the buffer to a string and sends it to processLine.
ProcessCloser - Interface in org.zeroturnaround.exec.close
Abstraction for closing sub process' streams.
ProcessDestroyer - Interface in org.zeroturnaround.exec.listener
Destroys all registered Process after a certain event, typically when the VM exits
ProcessDestroyerImpl() - Constructor for class org.zeroturnaround.exec.listener.ShutdownHookProcessDestroyer.ProcessDestroyerImpl
 
processes - Variable in class org.zeroturnaround.exec.listener.ShutdownHookProcessDestroyer
the list of currently running processes
ProcessExecutor - Class in org.zeroturnaround.exec
Helper for executing sub processes.
ProcessExecutor() - Constructor for class org.zeroturnaround.exec.ProcessExecutor
Creates new ProcessExecutor instance.
ProcessExecutor(Iterable<String>) - Constructor for class org.zeroturnaround.exec.ProcessExecutor
Creates new ProcessExecutor instance for the given program and its arguments.
ProcessExecutor(String...) - Constructor for class org.zeroturnaround.exec.ProcessExecutor
Creates new ProcessExecutor instance for the given program and its arguments.
ProcessExecutor(List<String>) - Constructor for class org.zeroturnaround.exec.ProcessExecutor
Creates new ProcessExecutor instance for the given program and its arguments.
ProcessInitException - Exception in org.zeroturnaround.exec
Creating a process failed providing an error code.
ProcessInitException(String, Throwable, int) - Constructor for exception org.zeroturnaround.exec.ProcessInitException
 
processLine(String) - Method in class org.zeroturnaround.exec.stream.LogOutputStream
Logs a line to the log system of the user.
processLine(String) - Method in class org.zeroturnaround.exec.stream.slf4j.Slf4jDebugOutputStream
 
processLine(String) - Method in class org.zeroturnaround.exec.stream.slf4j.Slf4jErrorOutputStream
 
processLine(String) - Method in class org.zeroturnaround.exec.stream.slf4j.Slf4jInfoOutputStream
 
processLine(String) - Method in class org.zeroturnaround.exec.stream.slf4j.Slf4jTraceOutputStream
 
processLine(String) - Method in class org.zeroturnaround.exec.stream.slf4j.Slf4jWarnOutputStream
 
ProcessListener - Class in org.zeroturnaround.exec.listener
Event handler for process events.
ProcessListener() - Constructor for class org.zeroturnaround.exec.listener.ProcessListener
 
ProcessOutput - Class in org.zeroturnaround.exec
Standard output of a finished process.
ProcessOutput(byte[]) - Constructor for class org.zeroturnaround.exec.ProcessOutput
 
ProcessResult - Class in org.zeroturnaround.exec
Exit value and output of a finished process.
ProcessResult(int, ProcessOutput) - Constructor for class org.zeroturnaround.exec.ProcessResult
 
ProcessStopper - Interface in org.zeroturnaround.exec.stop
Abstraction for stopping sub processes.
pumps() - Method in class org.zeroturnaround.exec.ProcessExecutor
 
PumpStreamHandler - Class in org.zeroturnaround.exec.stream
Copies standard output and error of subprocesses to standard output and error of the parent process.
PumpStreamHandler() - Constructor for class org.zeroturnaround.exec.stream.PumpStreamHandler
Construct a new PumpStreamHandler.
PumpStreamHandler(OutputStream) - Constructor for class org.zeroturnaround.exec.stream.PumpStreamHandler
Construct a new PumpStreamHandler.
PumpStreamHandler(OutputStream, OutputStream) - Constructor for class org.zeroturnaround.exec.stream.PumpStreamHandler
Construct a new PumpStreamHandler.
PumpStreamHandler(OutputStream, OutputStream, InputStream) - Constructor for class org.zeroturnaround.exec.stream.PumpStreamHandler
Construct a new PumpStreamHandler.

R

readOutput - Variable in class org.zeroturnaround.exec.ProcessExecutor
true if the process output should be read to a buffer and returned by ProcessResult.output().
readOutput(boolean) - Method in class org.zeroturnaround.exec.ProcessExecutor
Sets this process executor's readOutput property.
redirectError(OutputStream) - Method in class org.zeroturnaround.exec.ProcessExecutor
Redirects the process' error stream to given output stream.
redirectErrorAlsoTo(OutputStream) - Method in class org.zeroturnaround.exec.ProcessExecutor
Redirects the process' error stream also to a given output stream.
redirectErrorAlsoTo(PumpStreamHandler, OutputStream) - Static method in class org.zeroturnaround.exec.ProcessExecutor
Redirects the process' error stream also to a given output stream.
redirectErrorAsDebug() - Method in class org.zeroturnaround.exec.ProcessExecutor
redirectErrorAsDebug(String) - Method in class org.zeroturnaround.exec.ProcessExecutor
redirectErrorAsDebug(Logger) - Method in class org.zeroturnaround.exec.ProcessExecutor
redirectErrorAsInfo() - Method in class org.zeroturnaround.exec.ProcessExecutor
redirectErrorAsInfo(String) - Method in class org.zeroturnaround.exec.ProcessExecutor
redirectErrorAsInfo(Logger) - Method in class org.zeroturnaround.exec.ProcessExecutor
redirectErrorStream(boolean) - Method in class org.zeroturnaround.exec.ProcessExecutor
Sets this process executor's redirectErrorStream property.
redirectInput(InputStream) - Method in class org.zeroturnaround.exec.ProcessExecutor
Sets the input stream to redirect to the process' input stream.
redirectOutput(OutputStream) - Method in class org.zeroturnaround.exec.ProcessExecutor
Redirects the process' output stream to given output stream.
redirectOutputAlsoTo(OutputStream) - Method in class org.zeroturnaround.exec.ProcessExecutor
Redirects the process' output stream also to a given output stream.
redirectOutputAlsoTo(PumpStreamHandler, OutputStream) - Static method in class org.zeroturnaround.exec.ProcessExecutor
Redirects the process' output stream also to a given output stream.
redirectOutputAsDebug() - Method in class org.zeroturnaround.exec.ProcessExecutor
redirectOutputAsDebug(String) - Method in class org.zeroturnaround.exec.ProcessExecutor
redirectOutputAsDebug(Logger) - Method in class org.zeroturnaround.exec.ProcessExecutor
redirectOutputAsInfo() - Method in class org.zeroturnaround.exec.ProcessExecutor
redirectOutputAsInfo(String) - Method in class org.zeroturnaround.exec.ProcessExecutor
redirectOutputAsInfo(Logger) - Method in class org.zeroturnaround.exec.ProcessExecutor
remove(Process) - Method in interface org.zeroturnaround.exec.listener.ProcessDestroyer
Returns true if the specified Process was successfully removed from the list of processes to be destroy.
remove(Process) - Method in class org.zeroturnaround.exec.listener.ShutdownHookProcessDestroyer
Returns true if the specified Process was successfully removed from the list of processes to destroy upon VM exit.
remove(ProcessListener) - Method in class org.zeroturnaround.exec.listener.CompositeProcessListener
Remove existing listener.
removeAll(Class<? extends ProcessListener>) - Method in class org.zeroturnaround.exec.listener.CompositeProcessListener
Remove existing listeners of given type or its sub-types.
removeListener(ProcessListener) - Method in class org.zeroturnaround.exec.ProcessExecutor
Unregister existing process event handler.
removeListeners(Class<? extends ProcessListener>) - Method in class org.zeroturnaround.exec.ProcessExecutor
Unregister existing process event handlers of given type or its sub-types.
removeShutdownHook() - Method in class org.zeroturnaround.exec.listener.ShutdownHookProcessDestroyer
Removes this ProcessDestroyer as a shutdown hook, uses reflection to ensure pre-JDK 1.3 compatibility
result - Variable in exception org.zeroturnaround.exec.InvalidResultException
Actual exit value and process output.
result() - Method in exception org.zeroturnaround.exec.InvalidResultException
Deprecated.
right - Variable in class org.zeroturnaround.exec.stream.TeeOutputStream
 
run() - Method in class org.zeroturnaround.exec.listener.ShutdownHookProcessDestroyer.ProcessDestroyerImpl
 
run() - Method in class org.zeroturnaround.exec.listener.ShutdownHookProcessDestroyer
Invoked by the VM when it is exiting.
run() - Method in class org.zeroturnaround.exec.MDCRunnableAdapter
 
run() - Method in class org.zeroturnaround.exec.stream.InputStreamPumper
Copies data from the input stream to the output stream.
run() - Method in class org.zeroturnaround.exec.stream.StreamPumper
Copies data from the input stream to the output stream.
running - Variable in class org.zeroturnaround.exec.listener.ShutdownHookProcessDestroyer
Whether or not this ProcessDestroyer is currently running as shutdown hook

S

serialVersionUID - Static variable in exception org.zeroturnaround.exec.InvalidExitValueException
 
serialVersionUID - Static variable in exception org.zeroturnaround.exec.InvalidOutputException
 
serialVersionUID - Static variable in exception org.zeroturnaround.exec.InvalidResultException
 
setMessageLogger(MessageLogger) - Method in class org.zeroturnaround.exec.ProcessExecutor
Changes how most common messages about starting and waiting for processes are actually logged.
setProcessErrorStream(InputStream) - Method in interface org.zeroturnaround.exec.stream.ExecuteStreamHandler
Install a handler for the error stream of the subprocess.
setProcessErrorStream(InputStream) - Method in class org.zeroturnaround.exec.stream.PumpStreamHandler
Set the InputStream from which to read the standard error of the process.
setProcessInputStream(OutputStream) - Method in interface org.zeroturnaround.exec.stream.ExecuteStreamHandler
Install a handler for the input stream of the subprocess.
setProcessInputStream(OutputStream) - Method in class org.zeroturnaround.exec.stream.PumpStreamHandler
Set the OutputStream by means of which input can be sent to the process.
setProcessOutputStream(InputStream) - Method in interface org.zeroturnaround.exec.stream.ExecuteStreamHandler
Install a handler for the output stream of the subprocess.
setProcessOutputStream(InputStream) - Method in class org.zeroturnaround.exec.stream.PumpStreamHandler
Set the InputStream from which to read the standard output of the process.
setShouldDestroy(boolean) - Method in class org.zeroturnaround.exec.listener.ShutdownHookProcessDestroyer.ProcessDestroyerImpl
 
shouldDestroy - Variable in class org.zeroturnaround.exec.listener.ShutdownHookProcessDestroyer.ProcessDestroyerImpl
 
shutDownHookExecuted - Variable in class org.zeroturnaround.exec.listener.ShutdownHookProcessDestroyer
Whether the shut down hook routine was already run
ShutdownHookProcessDestroyer - Class in org.zeroturnaround.exec.listener
Destroys all registered Processes when the VM exits.
ShutdownHookProcessDestroyer() - Constructor for class org.zeroturnaround.exec.listener.ShutdownHookProcessDestroyer
Constructs a ProcessDestroyer and obtains Runtime.addShutdownHook() and Runtime.removeShutdownHook() through reflection.
ShutdownHookProcessDestroyer.ProcessDestroyerImpl - Class in org.zeroturnaround.exec.listener
 
size - Variable in class org.zeroturnaround.exec.stream.StreamPumper
the size of the internal buffer for copying the streams
size() - Method in interface org.zeroturnaround.exec.listener.ProcessDestroyer
Returns the number of registered processes.
size() - Method in class org.zeroturnaround.exec.listener.ShutdownHookProcessDestroyer
Returns the number of registered processes.
SLEEPING_TIME - Static variable in class org.zeroturnaround.exec.stream.InputStreamPumper
 
Slf4jDebugOutputStream - Class in org.zeroturnaround.exec.stream.slf4j
Output stream that writes debug level messages to a given Logger.
Slf4jDebugOutputStream(Logger) - Constructor for class org.zeroturnaround.exec.stream.slf4j.Slf4jDebugOutputStream
 
Slf4jErrorOutputStream - Class in org.zeroturnaround.exec.stream.slf4j
Output stream that writes error level messages to a given Logger.
Slf4jErrorOutputStream(Logger) - Constructor for class org.zeroturnaround.exec.stream.slf4j.Slf4jErrorOutputStream
 
Slf4jInfoOutputStream - Class in org.zeroturnaround.exec.stream.slf4j
Output stream that writes info level messages to a given Logger.
Slf4jInfoOutputStream(Logger) - Constructor for class org.zeroturnaround.exec.stream.slf4j.Slf4jInfoOutputStream
 
Slf4jOutputStream - Class in org.zeroturnaround.exec.stream.slf4j
Output stream that writes to a given Logger.
Slf4jOutputStream(Logger) - Constructor for class org.zeroturnaround.exec.stream.slf4j.Slf4jOutputStream
 
Slf4jStream - Class in org.zeroturnaround.exec.stream.slf4j
Creates output streams that write to Loggers.
Slf4jStream(Logger) - Constructor for class org.zeroturnaround.exec.stream.slf4j.Slf4jStream
 
Slf4jTraceOutputStream - Class in org.zeroturnaround.exec.stream.slf4j
Output stream that writes trace level messages to a given Logger.
Slf4jTraceOutputStream(Logger) - Constructor for class org.zeroturnaround.exec.stream.slf4j.Slf4jTraceOutputStream
 
Slf4jWarnOutputStream - Class in org.zeroturnaround.exec.stream.slf4j
Output stream that writes warn level messages to a given Logger.
Slf4jWarnOutputStream(Logger) - Constructor for class org.zeroturnaround.exec.stream.slf4j.Slf4jWarnOutputStream
 
StandardProcessCloser - Class in org.zeroturnaround.exec.close
Stops ExecuteStreamHandler from pumping the streams and closes them.
StandardProcessCloser(ExecuteStreamHandler) - Constructor for class org.zeroturnaround.exec.close.StandardProcessCloser
 
start() - Method in class org.zeroturnaround.exec.ProcessExecutor
Start the sub process.
start() - Method in interface org.zeroturnaround.exec.stream.ExecuteStreamHandler
Start handling of the streams.
start() - Method in class org.zeroturnaround.exec.stream.PumpStreamHandler
Start the Threads.
StartedProcess - Class in org.zeroturnaround.exec
Represents a process that has started.
StartedProcess(Process, Future<ProcessResult>) - Constructor for class org.zeroturnaround.exec.StartedProcess
 
startInternal() - Method in class org.zeroturnaround.exec.ProcessExecutor
Start the process and its stream handlers.
startInternal(Process, ProcessAttributes, ExecuteStreamHandler, ByteArrayOutputStream) - Method in class org.zeroturnaround.exec.ProcessExecutor
 
stop - Variable in class org.zeroturnaround.exec.stream.InputStreamPumper
flag to stop the stream pumping
stop() - Method in interface org.zeroturnaround.exec.stream.ExecuteStreamHandler
Stop handling of the streams - will not be restarted.
stop() - Method in class org.zeroturnaround.exec.stream.PumpStreamHandler
Stop pumping the streams.
stop(Process) - Method in class org.zeroturnaround.exec.stop.DestroyProcessStopper
 
stop(Process) - Method in class org.zeroturnaround.exec.stop.NopProcessStopper
 
stop(Process) - Method in interface org.zeroturnaround.exec.stop.ProcessStopper
Stops a given sub process.
stopper - Variable in class org.zeroturnaround.exec.ProcessExecutor
Helper for stopping the process in case of timeout or cancellation.
stopper - Variable in class org.zeroturnaround.exec.WaitForProcess
Helper for stopping the process in case of interruption.
stopper(ProcessStopper) - Method in class org.zeroturnaround.exec.ProcessExecutor
Sets the helper for stopping the process in case of timeout or cancellation.
stopProcessing() - Method in class org.zeroturnaround.exec.stream.InputStreamPumper
 
StreamPumper - Class in org.zeroturnaround.exec.stream
Copies all data from an input stream to an output stream.
StreamPumper(InputStream, OutputStream) - Constructor for class org.zeroturnaround.exec.stream.StreamPumper
Create a new stream pumper.
StreamPumper(InputStream, OutputStream, boolean) - Constructor for class org.zeroturnaround.exec.stream.StreamPumper
Create a new stream pumper.
StreamPumper(InputStream, OutputStream, boolean, boolean) - Constructor for class org.zeroturnaround.exec.stream.StreamPumper
Create a new stream pumper.
StreamPumper(InputStream, OutputStream, boolean, int) - Constructor for class org.zeroturnaround.exec.stream.StreamPumper
Create a new stream pumper.
StreamPumper(InputStream, OutputStream, boolean, int, boolean) - Constructor for class org.zeroturnaround.exec.stream.StreamPumper
Create a new stream pumper.
streams - Variable in class org.zeroturnaround.exec.close.StandardProcessCloser
 
streams - Variable in class org.zeroturnaround.exec.ProcessExecutor
Process stream Handler (copied from Commons Exec library).
streams() - Method in class org.zeroturnaround.exec.ProcessExecutor
 
streams(ExecuteStreamHandler) - Method in class org.zeroturnaround.exec.ProcessExecutor
Sets a stream handler for the process being executed.

T

target - Variable in class org.zeroturnaround.exec.MDCCallableAdapter
 
target - Variable in class org.zeroturnaround.exec.MDCRunnableAdapter
 
TeeOutputStream - Class in org.zeroturnaround.exec.stream
Splits an OutputStream into two.
TeeOutputStream(OutputStream, OutputStream) - Constructor for class org.zeroturnaround.exec.stream.TeeOutputStream
 
timeout - Variable in class org.zeroturnaround.exec.close.TimeoutProcessCloser
 
timeout - Variable in class org.zeroturnaround.exec.ProcessExecutor
Timeout for running a process.
timeout(long, TimeUnit) - Method in class org.zeroturnaround.exec.ProcessExecutor
Sets a timeout for the process being executed.
TimeoutProcessCloser - Class in org.zeroturnaround.exec.close
Same as StandardProcessCloser but only waits fixed period for the closing.
TimeoutProcessCloser(ExecuteStreamHandler, long, TimeUnit) - Constructor for class org.zeroturnaround.exec.close.TimeoutProcessCloser
Creates new instance of TimeoutProcessCloser.
timeoutUnit - Variable in class org.zeroturnaround.exec.ProcessExecutor
 
toString() - Method in class org.zeroturnaround.exec.WaitForProcess
 
TRACE - org.zeroturnaround.exec.stream.slf4j.Level
 
TRACE - Static variable in class org.zeroturnaround.exec.MessageLoggers
 

U

unit - Variable in class org.zeroturnaround.exec.close.TimeoutProcessCloser
 

V

validateStreams(ExecuteStreamHandler, boolean) - Method in class org.zeroturnaround.exec.ProcessExecutor
Validates that if readOutput is true the output could be read with the given ExecuteStreamHandler instance.
valueOf(String) - Static method in enum org.zeroturnaround.exec.stream.slf4j.Level
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.zeroturnaround.exec.stream.slf4j.Level
Returns an array containing the constants of this enum type, in the order they are declared.

W

waitFor() - Method in class org.zeroturnaround.exec.stream.StreamPumper
This method blocks until the stream pumper finishes.
waitFor(WaitForProcess) - Method in class org.zeroturnaround.exec.ProcessExecutor
Wait until the process stops, a timeout occurs and the caller thread gets interrupted.
WaitForProcess - Class in org.zeroturnaround.exec
Handles the executed process.
WaitForProcess(Process, ProcessAttributes, ProcessStopper, ProcessCloser, ByteArrayOutputStream, ProcessListener, MessageLogger) - Constructor for class org.zeroturnaround.exec.WaitForProcess
 
WARN - org.zeroturnaround.exec.stream.slf4j.Level
 
workerThread - Variable in class org.zeroturnaround.exec.WaitForProcess
Thread which executes this operation.
wrapTask(Runnable) - Method in class org.zeroturnaround.exec.stream.PumpStreamHandler
Override this to customize how the background task is created.
wrapTask(Callable<T>) - Method in class org.zeroturnaround.exec.ProcessExecutor
Override this to customize how the background task is created.
write(byte[]) - Method in class org.zeroturnaround.exec.stream.NullOutputStream
 
write(byte[]) - Method in class org.zeroturnaround.exec.stream.TeeOutputStream
Write a byte array to both output streams.
write(byte[], int, int) - Method in class org.zeroturnaround.exec.stream.LogOutputStream
Write a block of characters to the output stream
write(byte[], int, int) - Method in class org.zeroturnaround.exec.stream.NullOutputStream
 
write(byte[], int, int) - Method in class org.zeroturnaround.exec.stream.TeeOutputStream
Write a byte array to both output streams.
write(int) - Method in class org.zeroturnaround.exec.stream.LogOutputStream
Write the data to the buffer and flush the buffer, if a line separator is detected.
write(int) - Method in class org.zeroturnaround.exec.stream.NullOutputStream
 
write(int) - Method in class org.zeroturnaround.exec.stream.TeeOutputStream
Write a byte to both output streams.
A B C D E F G H I L M N O P R S T U V W 
All Classes All Packages