@Test public void testTemplateCSV() throws Exception { String path = "/template.csv"; List<List<String>> rows = TemplateHelper.readCSV(this.getClass().getResourceAsStream(path)); OWLOntology simpleParts = loadOntology("/simple_parts.owl"); Template t = new Template(path, rows, simpleParts); OWLOntology template = t.generateOutputOntology("http: assertIdentical("/template.owl", template); }
public OWLOntology generateOutputOntology() throws Exception { return generateOutputOntology(null, false, null); }
Template { public OWLOntology generateOutputOntology() throws Exception { return generateOutputOntology(null, false, null); } }
Template { public OWLOntology generateOutputOntology() throws Exception { return generateOutputOntology(null, false, null); } 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); }
Template { public OWLOntology generateOutputOntology() throws Exception { return generateOutputOntology(null, false, null); } 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); }
Template { public OWLOntology generateOutputOntology() throws Exception { return generateOutputOntology(null, false, null); } 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);  }