Here you can find the source of closeHTML(String pageTemplate, PrintStream out)
public static void closeHTML(String pageTemplate, PrintStream out)
//package com.java2s; //License from project: Apache License import java.io.PrintStream; public class Main { private static final String TEMPLATE_CONTENT = "${content}"; public static void closeHTML(String pageTemplate, PrintStream out) { out.print(pageTemplate.substring(pageTemplate.indexOf(TEMPLATE_CONTENT) + TEMPLATE_CONTENT.length())); }/*from w ww . ja va 2 s. c o m*/ }