org.openqa.selenium.internal
Class CommandLine
java.lang.Object
org.openqa.selenium.internal.CommandLine
public class CommandLine
- extends java.lang.Object
|
Constructor Summary |
CommandLine(java.lang.String[] cmdarray)
|
CommandLine(java.lang.String executable,
java.lang.String... args)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CommandLine
public CommandLine(java.lang.String executable,
java.lang.String... args)
CommandLine
public CommandLine(java.lang.String[] cmdarray)
setEnvironmentVariables
public void setEnvironmentVariables(java.util.Map<java.lang.String,java.lang.String> environment)
setEnvironmentVariable
public void setEnvironmentVariable(java.lang.String name,
java.lang.String value)
setDynamicLibraryPath
public void setDynamicLibraryPath(java.lang.String newLibraryPath)
getLibraryPathPropertyName
public static java.lang.String getLibraryPathPropertyName()
- Returns:
- The platform specific env property name which contains the library path.
findExecutable
public static java.lang.String findExecutable(java.lang.String named)
execute
public void execute()
executeAsync
public java.lang.Process executeAsync()
waitFor
public void waitFor()
isSuccessful
public boolean isSuccessful()
getExitCode
public int getExitCode()
getStdOut
public java.lang.String getStdOut()
destroy
public void destroy()
setInput
public void setInput(java.lang.String allInput)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2010. All Rights Reserved.