public Reader getReader(Object templateSource, String encoding) throws IOException { return new InputStreamReader( ((URLTemplateSource) templateSource).getInputStream(), encoding); }
public Reader getReader(Object templateSource, String encoding) throws IOException { if (templateSource instanceof File) { return new InputStreamReader( new FileInputStream((File) templateSource), encoding); } else { return new InputStreamReader( ((URLTemplateSource) templateSource).getInputStream(), encoding); } }
public Reader getReader(Object templateSource, String encoding) throws IOException { return new InputStreamReader( ((URLTemplateSource) templateSource).getInputStream(), encoding); }
public Reader getReader(Object templateSource, String encoding) throws IOException { return new InputStreamReader( ((URLTemplateSource) templateSource).getInputStream(), encoding); }
public Reader getReader(Object templateSource, String encoding) throws IOException { return new InputStreamReader( ((URLTemplateSource) templateSource).getInputStream(), encoding); }
public Reader getReader(Object templateSource, String encoding) throws IOException { if (templateSource instanceof File) { return new InputStreamReader( new FileInputStream((File) templateSource), encoding); } else { return new InputStreamReader( ((URLTemplateSource) templateSource).getInputStream(), encoding); } }
public Reader getReader(Object templateSource, String encoding) throws IOException { if (templateSource instanceof File) { return new InputStreamReader( new FileInputStream((File) templateSource), encoding); } else { return new InputStreamReader( ((URLTemplateSource) templateSource).getInputStream(), encoding); } }
public Reader getReader(Object templateSource, String encoding) throws IOException { if (templateSource instanceof File) { return new InputStreamReader( new FileInputStream((File) templateSource), encoding); } else { return new InputStreamReader( ((URLTemplateSource) templateSource).getInputStream(), encoding); } }