/** * Returns the media path for multi-volume installation. * * @return the media path. May be <tt>null</tt> */ @Override public String getMediaPath() { return getVariable(MEDIA_PATH); }
String logfile = installData.getVariable(LOGFILE_PATH); BufferedWriter writer = null; if (logfile != null)
/** * Returns the default install path. * * @return the default install path or null if none set yet * @see #setDefaultInstallPath */ @Override public String getDefaultInstallPath() { return getVariable(DEFAULT_INSTALL_PATH); }
@Override public String getLocaleISO3() { return getVariable(ScriptParserConstant.ISO3_LANG); }
@Override public String getLocaleISO2() { return getVariable(ScriptParserConstant.ISO2_LANG); }
/** * Returns the install path. * * @return the current install path or null if none set yet * @see #setInstallPath */ @Override public String getInstallPath() { return getVariable(INSTALL_PATH); }
/** * Look for a key = InstallationGroupPanel.sortKey.[group] entry: * by using installData.getVariable(key) * if this variable is not defined, defaults to group * * @param group - the installation group name * @param automatedInstallData - installation data * @return the group sortkey */ public static String getGroupSortKey(String group, AutomatedInstallData automatedInstallData) { String key = "InstallationGroupPanel.sortKey." + group; String sortKey = automatedInstallData.getVariable(key); if (sortKey == null) { sortKey = group; } try { sortKey = URLDecoder.decode(sortKey, "UTF-8"); } catch (UnsupportedEncodingException e) { logger.warning("Failed to convert sortKey" + e.getMessage()); } return sortKey; }
description = automatedInstallData.getVariable(key);
gname = automatedInstallData.getVariable(key);