Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep
C D E F G H I M R S T W

C

com.klavergne.process - package com.klavergne.process
 
command - Variable in class com.klavergne.process.SmartProcess
The command to execute.

D

data - Variable in class com.klavergne.process.SmartProcess.StreamReader
A StringBuffer that holds the contents of the stream.

E

exitStatus - Variable in class com.klavergne.process.SmartProcess
The exit status code of the process.

F

flushStream() - Method in class com.klavergne.process.SmartProcess.StreamReader
Returns the contents of the stream and flushes it.

G

getCommand() - Method in class com.klavergne.process.SmartProcess
Returns the command that this process will execute.
getExitStatus() - Method in class com.klavergne.process.SmartProcess
Returns the exit status of the process.
getHandleExceptions() - Method in class com.klavergne.process.SmartProcess
Returns a boolean value indicating whether the process should handle exceptions.
getStandardError() - Method in class com.klavergne.process.SmartProcess
Returns a String containing the text of the standard error from the process.
getStandardOut() - Method in class com.klavergne.process.SmartProcess
Returns a String containing the text of the standard output from the process.
getStream(boolean) - Method in class com.klavergne.process.SmartProcess.StreamReader
Returns the contents of the stream.
getWait() - Method in class com.klavergne.process.SmartProcess
Returns a boolean value indicating whether the process should wait to finish before returning.
go() - Method in class com.klavergne.process.SmartProcess
Executes the command in a new process.

H

handleExceptions - Variable in class com.klavergne.process.SmartProcess
A boolean value indicating whether the process should handle exceptions.

I

inputReader - Variable in class com.klavergne.process.SmartProcess.StreamReader
The Reader that this StreamReader will read from.

M

main(String[]) - Static method in class com.klavergne.process.SmartProcess
Executes this class with the given commands in separate processes.

R

run() - Method in class com.klavergne.process.SmartProcess.StreamReader
Executes the reader thread.

S

SmartProcess - class com.klavergne.process.SmartProcess.
This class uses the Runtime and Process classes to execute the given command from inside the VM.
SmartProcess(String) - Constructor for class com.klavergne.process.SmartProcess
Creates a new SmartProcess object with the given String as the command.
SmartProcess(String, boolean) - Constructor for class com.klavergne.process.SmartProcess
Creates a new SmartProcess object with the given String as the command.
SmartProcess(String, boolean, boolean) - Constructor for class com.klavergne.process.SmartProcess
Creates a new SmartProcess object with the given String as the command.
SmartProcess.StreamReader - class com.klavergne.process.SmartProcess.StreamReader.
This class handles reading the standard out and standard error streams.
SmartProcess.StreamReader(InputStream) - Constructor for class com.klavergne.process.SmartProcess.StreamReader
Creates a new SreamReader object using the given InputStream.
SmartProcessTest - class com.klavergne.process.SmartProcessTest.
 
SmartProcessTest(String) - Constructor for class com.klavergne.process.SmartProcessTest
 
setCommand(String) - Method in class com.klavergne.process.SmartProcess
Sets the command that this process will execute.
setCommand(String[]) - Method in class com.klavergne.process.SmartProcess
Sets the command that this process will execute.
setCommand(List) - Method in class com.klavergne.process.SmartProcess
Sets the command that this process will execute.
setHandleExceptions(boolean) - Method in class com.klavergne.process.SmartProcess
Sets a boolean value indicating whether the process should handle exceptions.
setUp() - Method in class com.klavergne.process.SmartProcessTest
 
setWait(boolean) - Method in class com.klavergne.process.SmartProcess
Sets the boolean value indicating whether the process should wait to finish before returning.
spDir - Variable in class com.klavergne.process.SmartProcessTest
 
spJava - Variable in class com.klavergne.process.SmartProcessTest
 
spLs - Variable in class com.klavergne.process.SmartProcessTest
 
stderr - Variable in class com.klavergne.process.SmartProcess
The standard error of the command that is executed.
stdout - Variable in class com.klavergne.process.SmartProcess
The standard output of the command that is executed.
suite() - Static method in class com.klavergne.process.SmartProcessTest
 

T

testDir() - Method in class com.klavergne.process.SmartProcessTest
 
testJava() - Method in class com.klavergne.process.SmartProcessTest
 
testLs() - Method in class com.klavergne.process.SmartProcessTest
 

W

wait - Variable in class com.klavergne.process.SmartProcess
A boolean value indicating whether the process should wait until complete before returning.

C D E F G H I M R S T W