| Constructor and Description |
|---|
BourneShell() |
BourneShell(boolean isLoginShell) |
| Modifier and Type | Method and Description |
|---|---|
String |
getExecutable() |
protected String |
getExecutionPreamble() |
protected char[] |
getQuotingTriggerChars() |
String[] |
getShellArgs()
Get the shell arguments
|
List<String> |
getShellArgsList() |
protected static String |
unifyQuotes(String path)
Unify quotes in a path for the Bourne Shell.
|
addShellArg, clearArguments, clone, getArgumentEscapePattern, getArgumentQuoteDelimiter, getCommandLine, getEscapeChars, getExecutableQuoteDelimiter, getOriginalCommandLine, getOriginalExecutable, getRawCommandLine, getShellCommand, getShellCommandLine, getWorkingDirectory, getWorkingDirectoryAsString, isDoubleQuotedArgumentEscaped, isDoubleQuotedExecutableEscaped, isQuotedArgumentsEnabled, isQuotedExecutableEnabled, isSingleQuotedArgumentEscaped, isSingleQuotedExecutableEscaped, setArgumentEscapePattern, setArgumentQuoteDelimiter, setDoubleQuotedArgumentEscaped, setDoubleQuotedExecutableEscaped, setExecutable, setExecutableQuoteDelimiter, setQuotedArgumentsEnabled, setQuotedExecutableEnabled, setShellArgs, setShellCommand, setSingleQuotedArgumentEscaped, setSingleQuotedExecutableEscaped, setWorkingDirectory, setWorkingDirectorypublic BourneShell()
public BourneShell(boolean isLoginShell)
public String getExecutable()
getExecutable in class Shellpublic List<String> getShellArgsList()
getShellArgsList in class Shellpublic String[] getShellArgs()
ShellgetShellArgs in class Shellprotected String getExecutionPreamble()
getExecutionPreamble in class Shellprotected char[] getQuotingTriggerChars()
getQuotingTriggerChars in class Shellprotected static String unifyQuotes(String path)
Unify quotes in a path for the Bourne Shell.
BourneShell.unifyQuotes(null) = null
BourneShell.unifyQuotes("") = (empty)
BourneShell.unifyQuotes("/test/quotedpath'abc") = /test/quotedpath\'abc
BourneShell.unifyQuotes("/test/quoted path'abc") = "/test/quoted path'abc"
BourneShell.unifyQuotes("/test/quotedpath\"abc") = "/test/quotedpath\"abc"
BourneShell.unifyQuotes("/test/quoted path\"abc") = "/test/quoted path\"abc"
BourneShell.unifyQuotes("/test/quotedpath\"'abc") = "/test/quotedpath\"'abc"
BourneShell.unifyQuotes("/test/quoted path\"'abc") = "/test/quoted path\"'abc"
path - not null path.Copyright © 2001-2013 Codehaus. All Rights Reserved.