public static ResourceBasedJobTemplate forURI(URI uri, JobCatalogWithTemplates catalog) throws SpecNotFoundException, TemplateException, IOException { try (InputStream is = getInputStreamForURI(uri)) { return new ResourceBasedJobTemplate(is, uri, catalog); } }
public static ResourceBasedJobTemplate forURI(URI uri, JobCatalogWithTemplates catalog) throws SpecNotFoundException, TemplateException, IOException { try (InputStream is = getInputStreamForURI(uri)) { return new ResourceBasedJobTemplate(is, uri, catalog); } }