Subversion Repositories SmartDukaan

Rev

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

Rev 31903 Rev 32199
Line 437... Line 437...
437
		message.setContent(mp);
437
		message.setContent(mp);
438
		mailSender.send(message);
438
		mailSender.send(message);
439
 
439
 
440
	}
440
	}
441
 
441
 
-
 
442
	public String html(String string) {
-
 
443
		return org.apache.commons.lang.StringEscapeUtils.escapeHtml(String.valueOf(string));
-
 
444
	}
-
 
445
 
442
	public String htmlJson(Object object) {
446
	public String htmlJson(Object object) {
443
		return StringEscapeUtils.escapeHtml4(gson.toJson(object));
447
		return StringEscapeUtils.escapeHtml4(gson.toJson(object));
444
	}
448
	}
445
 
449
 
446
	public static String getHyphenatedString(String s) {
450
	public static String getHyphenatedString(String s) {