@Test void testBuildCanvasIRI() { final Config config = new Config(); config.setBaseUrl("http: config.setViewId("12345"); config.setImageServiceBaseUrl("https: config.setImageServiceImageDirPrefix("/j2k/"); config.setCanvasContext("/canvas"); final IRIBuilder iriBuilder = new IRIBuilder(config); final String viewId = "12345"; final String resourceFileId = "00000001"; final String resourceIdString = config.getBaseUrl() + viewId + config.getCanvasContext() + "/" + resourceFileId; final IRI canvasIRI = iriBuilder.buildCanvasIRI(resourceIdString); assertEquals("http: }
public IRI buildCanvasIRI(final String canvasIdString) { return rdf.createIRI(canvasIdString); }
IRIBuilder { public IRI buildCanvasIRI(final String canvasIdString) { return rdf.createIRI(canvasIdString); } }
IRIBuilder { public IRI buildCanvasIRI(final String canvasIdString) { return rdf.createIRI(canvasIdString); } IRIBuilder(final Config config); private  IRIBuilder(); }
IRIBuilder { public IRI buildCanvasIRI(final String canvasIdString) { return rdf.createIRI(canvasIdString); } IRIBuilder(final Config config); private  IRIBuilder(); IRI buildCanvasIRI(final String canvasIdString); IRI buildResourceIRI(final String resourceIdString); IRI buildServiceIRI(final String imageServiceContext, final String resourceIdString); String buildImageServiceContext(final String viewId); String buildCanvasIRIfromPhysical(final String physical); String buildAnnotationId(); }
IRIBuilder { public IRI buildCanvasIRI(final String canvasIdString) { return rdf.createIRI(canvasIdString); } IRIBuilder(final Config config); private  IRIBuilder(); IRI buildCanvasIRI(final String canvasIdString); IRI buildResourceIRI(final String resourceIdString); IRI buildServiceIRI(final String imageServiceContext, final String resourceIdString); String buildImageServiceContext(final String viewId); String buildCanvasIRIfromPhysical(final String physical); String buildAnnotationId();  }