Subversion Repositories SmartDukaan

Rev

Rev 4972 | Rev 11964 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4972 Rev 10190
Line 21... Line 21...
21
		String htmlString = "";
21
		String htmlString = "";
22
		File file = new File(filename);
22
		File file = new File(filename);
23
		try {
23
		try {
24
			htmlString =  FileUtils.readFileToString(file);
24
			htmlString =  FileUtils.readFileToString(file);
25
		} catch (IOException e) {
25
		} catch (IOException e) {
26
			log.warn("Snippet of type " + type + " for entity " + entityId + " not found. ",e);
26
			log.warn("Snippet of type " + type + " for entity " + entityId + " not found. ");
27
		}
27
		}
28
		return htmlString;
28
		return htmlString;
29
	}
29
	}
30
}
30
}