Interface VariableSession


public interface VariableSession
A session for replacing variables
  • Method Details

    • hasVariable

      boolean hasVariable()
      Check if the string has a variable
      Returns:
      true if it does
    • getVariable

      String getVariable()
      Get the variable
      Returns:
      the variable
    • replaceVariable

      void replaceVariable(String replacement)
      Replace the variable with the replacement
      Parameters:
      replacement - the replacement
    • getFinalString

      String getFinalString()
      Get the final string
      Returns:
      the final string