IO_JenaReaders { @SuppressWarnings("deprecation") public static void wireIntoJena() { if ( isWiredIn ) return ; isWiredIn = true ; if ( coreFileManager == null ) coreFileManager = FileManager.getInternal(); FileManager.setGlobalFileManager(AdapterFileManager.get()); RDFReaderFImpl.alternative(new RDFReaderFactoryRIOT()); }  @SuppressWarnings("deprecation") static void wireIntoJena(); @SuppressWarnings("deprecation") static void resetJena(); @Deprecated static void registerForModelRead(String name, Class<? > cls);  }
@Test public void wireIntoJena() { IO_Jena.wireIntoJena(); RDFReaderF readerF = new RDFReaderFImpl(); assertEquals(RDFReaderRIOT.class, readerF.getReader().getClass()); assertEquals(RDFReaderRIOT.class, readerF.getReader("RDF/XML").getClass()); assertEquals(RDFReaderRIOT.class, readerF.getReader("RDF/XML-ABBREV").getClass()); assertEquals(RDFReaderRIOT.class, readerF.getReader("N-TRIPLES").getClass()); assertEquals(RDFReaderRIOT.class, readerF.getReader("N-Triples").getClass()); assertEquals(RDFReaderRIOT.class, readerF.getReader("N-TRIPLE").getClass()); assertEquals(RDFReaderRIOT.class, readerF.getReader("N3").getClass()); assertEquals(RDFReaderRIOT.class, readerF.getReader("TURTLE").getClass()); assertEquals(RDFReaderRIOT.class, readerF.getReader("Turtle").getClass()); assertEquals(RDFReaderRIOT.class, readerF.getReader("TTL").getClass()); assertEquals(RDFReaderRIOT.class, readerF.getReader("JSON-LD").getClass()); assertEquals(RDFReaderRIOT.class, readerF.getReader("JSONLD").getClass()); assertEquals(RDFReaderRIOT.class, readerF.getReader("RDF/JSON").getClass()); }