FileCachingIRIMapper implements OWLOntologyIRIMapper { static String localCacheFilename(IRI iri) { URI uri = iri.toURI(); StringBuilder sb = new StringBuilder(); escapeToBuffer(sb, uri.getHost()); escapeToBuffer(sb, uri.getPath()); return sb.toString(); } @Inject  FileCachingIRIMapper(@Named("FileCachingIRIMapperLocalCache") String localCache,
			@Named("FileCachingIRIMapperPeriod") long period,
			@Named("FileCachingIRIMapperTimeUnit") TimeUnit unit); @Override IRI getDocumentIRI(IRI ontologyIRI);  }
@Test public void testLocalCacheFilename() throws Exception { assertEquals("www.foo.bar/test.obo", FileCachingIRIMapper.localCacheFilename(IRI.create("http: }