|
The im4java Library, Version 1.4.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.im4java.script.AbstractScriptGenerator org.im4java.script.BashScriptGenerator
public class BashScriptGenerator
This class implements a BashScriptGenerator.
Field Summary |
---|
Fields inherited from class org.im4java.script.AbstractScriptGenerator |
---|
ESC_EOL, ESC_SPECIAL, iArgIndex, iIndent, iLineBuffer, LINE_SIZE |
Constructor Summary | |
---|---|
BashScriptGenerator()
The default constructor. |
Method Summary | |
---|---|
protected java.lang.String |
getScriptArg(java.lang.String pToken)
Return the token as a script-argument. |
protected java.lang.String |
quote(java.lang.String pString)
Quote the given string. |
protected void |
writeHeader()
Write the header of the script. |
Methods inherited from class org.im4java.script.AbstractScriptGenerator |
---|
createScript, getOperation, getProperties, getSearchPath, getWriter, init, writeCommand, writeOperation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BashScriptGenerator()
Method Detail |
---|
protected void writeHeader()
writeHeader
in class AbstractScriptGenerator
protected java.lang.String getScriptArg(java.lang.String pToken)
getScriptArg
in class AbstractScriptGenerator
protected java.lang.String quote(java.lang.String pString)
Note that this implementation is not 100% correct, since it does not handle the case with pre-escaped strings correctly.
quote
in class AbstractScriptGenerator
|
The im4java Library, Version 1.4.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |