public class ShNutsShellHelper extends AbstractNixNutsShellHelper
| Modifier and Type | Field and Description |
|---|---|
static ShNutsShellHelper |
SH |
static ReplaceString |
SHEBAN_SH |
| Constructor and Description |
|---|
ShNutsShellHelper() |
| Modifier and Type | Method and Description |
|---|---|
String |
dblQte(String line) |
String |
escapeArgument(String arg,
NutsCommandLineShellOptions options) |
String |
escapeArguments(String[] args,
NutsCommandLineShellOptions options) |
String |
getCallScriptCommand(String path,
String... args) |
String |
getExportCommand(String[] names) |
String |
getPathVarSep() |
String |
getSetVarCommand(String name,
String value) |
String |
getSetVarStaticCommand(String name,
String value) |
ReplaceString |
getShebanSh() |
String |
getSysRcName() |
boolean |
isComments(String line) |
String[] |
parseCommandLineArr(String commandLineString,
net.thevpc.nuts.NutsSession session) |
int |
readEscapedBash(char[] charArray,
int i,
StringBuilder sb) |
String |
smpQte(String line) |
String |
toCommentLine(String line) |
String |
trimComments(String line) |
String |
varRef(String v) |
newlineStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitofpublic static final ShNutsShellHelper SH
public static final ReplaceString SHEBAN_SH
public String getSysRcName()
public String getPathVarSep()
public ReplaceString getShebanSh()
public boolean isComments(String line)
public String[] parseCommandLineArr(String commandLineString, net.thevpc.nuts.NutsSession session)
public int readEscapedBash(char[] charArray,
int i,
StringBuilder sb)
public String escapeArguments(String[] args, NutsCommandLineShellOptions options)
public String escapeArgument(String arg, NutsCommandLineShellOptions options)
Copyright © 2022 vpc open source initiative. All rights reserved.