Slide 27
Slide 27 text
HtmlUtils.htmlEscape()ͷ࣮มߋ
// 4.3.x
public static String htmlEscape(String input, String encoding) {
Assert.notNull(encoding, "Encoding is required");
if (input == null) {
return null;
}
// 5.0.x
public static String htmlEscape(String input, String encoding) {
Assert.notNull(input, "Input is required");
Assert.notNull(encoding, "Encoding is required");
input͕nullͷͱ͖ExceptionΛ͛ΔΑ͏ʹͳͬͨ