public class Variable
extends java.lang.Object
| Constructor and Description |
|---|
Variable(java.lang.String placeholder,
java.lang.String string)
Creates a new Variable Object with the specified Placeholder and string
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
apply(java.lang.String string)
Returns the specified String with this Variable appplied to it
|
public Variable(java.lang.String placeholder,
java.lang.String string)
placeholder - The String which will get replaced by the Variablestring - The String which will replace the placeholder