{
String contentType = template.getContentType() == null
? AbstractStringResourceStream.DEFAULT_CONTENT_TYPE
: template.getContentType();
return new AbstractStringResourceStream(contentType)
{
private static final long serialVersionUID = 1L;
@Override
protected String getString()