Template { public Template(@Nonnull String name, @Nonnull List<List<String>> rows) throws Exception { this.name = name; this.ioHelper = new IOHelper(); tableRows = new ArrayList<>(); templates = new ArrayList<>(); headers = new ArrayList<>(); axioms = new HashSet<>(); checker = new QuotedEntityChecker(); checker.setIOHelper(this.ioHelper); checker.addProvider(new SimpleShortFormProvider()); addTable(rows); addLabels(); createParser(); } Template(@Nonnull String name, @Nonnull List<List<String>> rows);  Template(@Nonnull String name, @Nonnull List<List<String>> rows, IOHelper ioHelper);  Template(@Nonnull String name, @Nonnull List<List<String>> rows, OWLOntology inputOntology);  Template(
      @Nonnull String name,
      @Nonnull List<List<String>> rows,
      OWLOntology inputOntology,
      IOHelper ioHelper);  Template(
      @Nonnull String name,
      @Nonnull List<List<String>> rows,
      OWLOntology inputOntology,
      IOHelper ioHelper,
      QuotedEntityChecker checker); QuotedEntityChecker getChecker(); OWLOntology generateOutputOntology(); OWLOntology generateOutputOntology(String outputIRI, boolean force); OWLOntology generateOutputOntology(String outputIRI, boolean force, String errorsPath);  }
@Test public void testLegacyDocsTemplate() throws Exception { Map<String, String> options = TemplateOperation.getDefaultOptions(); IOHelper ioHelper = new IOHelper(); ioHelper.addPrefix("ex", "http: Map<String, List<List<String>>> tables = new LinkedHashMap<>(); String path = "/docs-template.csv"; tables.put(path, TemplateHelper.readCSV(this.getClass().getResourceAsStream(path))); OWLOntology template = TemplateOperation.template(null, ioHelper, tables, options); OntologyHelper.setOntologyIRI( template, IRI.create("https: assertIdentical("/docs-template.owl", template); }