|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.netbeans.modules.vcscore.util.VariableValueAdjustment
This class is used to adjust variable values so that they can be expanded to the execution string. Some shells needs some characters to be prepended by an escape character to hide their special meaning.
Constructor Summary | |
VariableValueAdjustment()
Creates new VariableValueAdjustment |
Method Summary | |
String |
adjustVarValue(String value)
Adjust the variable value for the command-line execution. |
void |
adjustVarValues(Hashtable vars)
Adjust the variable values for the command-line execution. |
Set |
getAdjustedVariableNames()
Get the set of variable names, that are adjusted. |
String |
revertAdjustedVarValue(String value)
Revert the adjusted variable value. |
void |
revertAdjustedVarValues(Hashtable vars)
Revert the adjusted variable values. |
void |
setAdjust(Hashtable vars)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public VariableValueAdjustment()
Method Detail |
public void setAdjust(Hashtable vars)
public Set getAdjustedVariableNames()
public void adjustVarValues(Hashtable vars)
vars
- the map of variable names and their valuespublic String adjustVarValue(String value)
value
- the value to be adjusted
public void revertAdjustedVarValues(Hashtable vars)
vars
- the map of variable names and their valuespublic String revertAdjustedVarValue(String value)
value
- the value to be reverted
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |