private static String loadTemplate(DBData data, String templateFile, String referencedFromFile, PathSpecification paths, Stack loadStack) throws Exception
private static String loadTemplate(DBData data, String templateFile, String referencedFromFile, PathSpecification paths, Stack loadStack, ArrayList loadList) throws Exception
private static String loadTemplate(DBData data, String templateFile, String referencedFromFile, PathSpecification paths, Stack loadStack) throws Exception{	File file = paths.search4File(templateFile);	String templateToResolve = file.getAbsolutePath();	// check if file already loaded	boolean alreadyLoaded = false;	Enumeration enum = VDBData.getTemplates().elements();	while (enum.hasMoreElements())	{		VDBTemplate t = (VDBTemplate)enum.nextElement();		if (t.getFileName().equals(templateToResolve))		{			alreadyLoaded = true;			break;		}	}