emitOfflinePage(logger, context, artifacts, offlineScreen.getId());
}
private void emitOfflinePage(TreeLogger logger, LinkerContext context, ArtifactSet artifacts, String offlineScreenId) throws UnableToCompleteException
{
permutationsUtil = new PermutationsUtil();
permutationsUtil.setupPermutationsMap(artifacts);
StringBuffer buffer = readFileToStringBuffer(getOfflinePageTemplate(logger, context), logger);
int startPos = buffer.indexOf("// __OFFLINE_SELECTION_END__");
if (startPos != -1)
{