/** * Returns the current value of the specified variable. This is short hand for * {@code getVariables().get(name)}. * * @param name the name of the variable * @return the value of the variable or null if not set * @see #setVariable */ @Override public String getVariable(String name) { return variables.get(name); }
/** * Returns the uninstall name, used to initialise the {@link RegistryHandler#setUninstallName(String)}. * <p/> * This implementation returns a concatenation of the <em>APP_NAME</em> and <em>APP_VER</em> variables, * separated by a space. * * @return the uninstall name */ protected String getUninstallName() { Variables variables = getInstallData().getVariables(); return variables.get("APP_NAME") + " " + variables.get("APP_VER"); }
Variables variables = installData.getVariables(); String expandedPath = variables.get(pathVariableName); expandedPath = variables.replace(expandedPath); _pathSelectionPanel.setPath(expandedPath);
varValue = variables.get(name);