IOHelper { public DefaultPrefixManager getPrefixManager() { return makePrefixManager(context.getPrefixes(false)); } IOHelper();  IOHelper(boolean defaults);  IOHelper(Map<String, Object> map);  IOHelper(String path);  IOHelper(File file); @Deprecated void addPrefixesAndSave(OWLOntology ontology, File outputFile, List<String> addPrefixes); File guessCatalogFile(File ontologyFile); OWLOntology loadOntology(String ontologyPath); OWLOntology loadOntology(String ontologyPath, boolean useCatalog); OWLOntology loadOntology(String ontologyPath, String catalogPath); OWLOntology loadOntology(File ontologyFile); OWLOntology loadOntology(File ontologyFile, boolean useCatalog); OWLOntology loadOntology(File ontologyFile, File catalogFile); OWLOntology loadOntology(InputStream ontologyStream); OWLOntology loadOntology(InputStream ontologyStream, String catalogPath); OWLOntology loadOntology(IRI ontologyIRI); OWLOntology loadOntology(IRI ontologyIRI, String catalogPath); static Dataset loadToTDBDataset(String inputPath, String tdbDir); static OWLDocumentFormat getFormat(String formatName); OWLOntology saveOntology(OWLOntology ontology, String ontologyPath); OWLOntology saveOntology(OWLOntology ontology, File ontologyFile); OWLOntology saveOntology(final OWLOntology ontology, IRI ontologyIRI); OWLOntology saveOntology(
      final OWLOntology ontology, OWLDocumentFormat format, File ontologyFile); OWLOntology saveOntology(
      final OWLOntology ontology, OWLDocumentFormat format, File ontologyFile, boolean checkOBO); OWLOntology saveOntology(
      final OWLOntology ontology, OWLDocumentFormat format, IRI ontologyIRI); OWLOntology saveOntology(
      final OWLOntology ontology, OWLDocumentFormat format, String ontologyPath, boolean checkOBO); OWLOntology saveOntology(
      final OWLOntology ontology, OWLDocumentFormat format, IRI ontologyIRI, boolean checkOBO); OWLOntology saveOntology(
      final OWLOntology ontology,
      OWLDocumentFormat format,
      IRI ontologyIRI,
      Map<String, String> addPrefixes,
      boolean checkOBO); Set<String> extractTerms(String input); static String cellToA1(int rowNum, int colNum); @SuppressWarnings("unchecked") IRI createIRI(String term); @SuppressWarnings("unchecked") IRI createIRI(String term, boolean qName); Set<IRI> createIRIs(Set<String> terms); static OWLLiteral createLiteral(String value); static OWLLiteral createTaggedLiteral(String value, String lang); OWLLiteral createTypedLiteral(String value, String type); OWLLiteral createTypedLiteral(String value, IRI type); Set<IRI> parseTerms(String input); @SuppressWarnings("unchecked") static Context parseContext(String jsonString); void addBaseNamespace(String baseNamespace); void addBaseNamespaces(String baseNamespacePath); Set<String> getBaseNamespaces(); Context getDefaultContext(); Context getContext(); void setContext(); void setContext(Context context); void setContext(String jsonString); void setContext(Map<String, Object> map); void setXMLEntityFlag(Boolean entityFlag); Boolean getXMLEntityFlag(); static DefaultPrefixManager makePrefixManager(Map<String, String> prefixes); DefaultPrefixManager getPrefixManager(); void addPrefix(String combined); void addPrefix(String prefix, String target); void addPrefixes(String prefixPath); void addPrefixes(Context context1); Map<String, String> getPrefixes(); void setPrefixes(Map<String, Object> map); String getContextString(); void saveContext(String path); void saveContext(File file); static List<List<String>> readCSV(String path); static List<List<String>> readCSV(InputStream stream); static List<List<String>> readCSV(Reader reader); static List<List<String>> readTSV(String path); static List<List<String>> readTSV(InputStream stream); static List<List<String>> readTSV(Reader reader); static List<List<String>> readTable(String path); static void writeTable(List<String[]> table, String path); static void writeTable(List<String[]> table, File file, char separator); static void writeTable(List<String[]> table, Writer writer, char separator);  }
@Test public void testPrefixManager() throws IOException { IOHelper ioh = new IOHelper(); DefaultPrefixManager pm = ioh.getPrefixManager(); assertEquals( "Check GO CURIE", "http: pm.getIRI("GO:12345").toString()); }