public Reader getReader(Object templateSource, String encoding) throws IOException { LiferayTemplateSource liferayTemplateSource = (LiferayTemplateSource) templateSource; return liferayTemplateSource.getReader(encoding); }