|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.informatica.powercenter.sdk.mapfwk.core.ParameterFileIterator
public class ParameterFileIterator
This is a custom iterator to iterate over the various parameters present in the ParameterFile.
Constructor Summary | |
---|---|
ParameterFileIterator(java.util.HashMap propNames)
The HahMap should contain the various containerNames as keys and vector of keyvalue pairs consisting of parameters as keys and their values as names. |
Method Summary | |
---|---|
java.lang.String |
getParameterName()
get the parameter name |
java.lang.String |
getScope()
get the scope of the parameter |
java.lang.String |
getValue()
get the value of the parameter |
boolean |
hasNext()
returns true if there is another row that is available of the form: [scope].paramName=value where scope is scope of the parameter, paramName is the parameter name and value is the parameter value. |
java.lang.Object |
next()
This assumes that a call to hasNext() has been made to ensure that a next element exists. |
void |
remove()
Remove function is not supported by the ParameterFileIterator |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ParameterFileIterator(java.util.HashMap propNames)
propNames
- TheMethod Detail |
---|
public boolean hasNext()
hasNext
in interface java.util.Iterator
public java.lang.Object next()
next
in interface java.util.Iterator
public java.lang.String getScope()
public java.lang.String getParameterName()
public java.lang.String getValue()
public void remove()
remove
in interface java.util.Iterator
java.lang.UnsupportedOperationException
- This is unsupported and throws an UnsupportedOperationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |