|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.makefileparser.managers.VariableManager
public class VariableManager
Manages all the parsed variables
Constructor Summary | |
---|---|
VariableManager()
Default constructor; sets the pre-defined variables |
Method Summary | |
---|---|
boolean |
addNew(Variable var)
Add new variable. |
void |
append(String id,
String value)
Append value to an existing variable |
void |
expand(String varID)
Expand a variable |
String |
getValue(String id)
|
boolean |
isVarDefined(String id)
|
Iterator<String> |
keys()
Get the names of all variables |
Iterator<String> |
nonExternalKeys()
Get the names of all variables that are not external (= from command line) |
Iterator<String> |
nonNonEmptyKeys()
Get the names of all variables whose value is not empty |
Iterator<Variable> |
values()
Get the current value of the variable |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VariableManager()
Method Detail |
---|
public boolean isVarDefined(String id)
public String getValue(String id)
public boolean addNew(Variable var)
var
- the variable
public void append(String id, String value)
public Iterator<String> keys()
public Iterator<String> nonExternalKeys()
public Iterator<String> nonNonEmptyKeys()
public Iterator<Variable> values()
public void expand(String varID)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |