public class IOParameterRefReplacer extends IOParameterRefParser
Matcher and is supposed
to be used in a loop like this:
SystemDataTools.Formatter formatter = SystemDataTools.getFormatter(<string>);
while (formatter.findNext())
{
...
formatter.replaceWith(<someValue>);
}
System.out.println(formatter.getProcessedString());
Instances are created using
ParameterRefTools.getIOReplacer(String, EnumSet) or other specialised
variants if available.| Modifier and Type | Method and Description |
|---|---|
boolean |
findNext()
Finds the next parameter reference.
|
java.lang.String |
getProcessedString()
Returns the processed string.
|
void |
replaceWith(java.lang.String string)
Replace the current parameter reference with the specified string.
|
getDataType, getEnd, getInputName, getOutputName, getParameterRef, getStartpublic boolean findNext()
false the processed string is
complete.findNext in class IOParameterRefParserpublic void replaceWith(java.lang.String string)
string - the string to replace the current parameter reference withpublic java.lang.String getProcessedString()