@Test void testBaseUrl() { final IRI identifier = rdf.createIRI(TRELLIS_DATA_PREFIX + "resource"); assertEquals("https: assertEquals("https: }
public static String externalUrl(final IRI identifier, final String baseUrl) { if (baseUrl.endsWith("/")) { return replaceOnce(identifier.getIRIString(), TRELLIS_DATA_PREFIX, baseUrl); } return replaceOnce(identifier.getIRIString(), TRELLIS_DATA_PREFIX, baseUrl + "/"); }
WebDAVUtils { public static String externalUrl(final IRI identifier, final String baseUrl) { if (baseUrl.endsWith("/")) { return replaceOnce(identifier.getIRIString(), TRELLIS_DATA_PREFIX, baseUrl); } return replaceOnce(identifier.getIRIString(), TRELLIS_DATA_PREFIX, baseUrl + "/"); } }
WebDAVUtils { public static String externalUrl(final IRI identifier, final String baseUrl) { if (baseUrl.endsWith("/")) { return replaceOnce(identifier.getIRIString(), TRELLIS_DATA_PREFIX, baseUrl); } return replaceOnce(identifier.getIRIString(), TRELLIS_DATA_PREFIX, baseUrl + "/"); } private  WebDAVUtils(); }
WebDAVUtils { public static String externalUrl(final IRI identifier, final String baseUrl) { if (baseUrl.endsWith("/")) { return replaceOnce(identifier.getIRIString(), TRELLIS_DATA_PREFIX, baseUrl); } return replaceOnce(identifier.getIRIString(), TRELLIS_DATA_PREFIX, baseUrl + "/"); } private  WebDAVUtils(); static void recursiveDelete(final ServiceBundler services, final Session session, final IRI identifier,
            final String baseUrl); static void closeDataset(final Dataset dataset); static CompletionStage<Void> recursiveCopy(final ServiceBundler services, final Session session,
            final IRI identifier, final IRI destination, final String baseUrl); static CompletionStage<Void> recursiveCopy(final ServiceBundler services, final Session session,
            final Resource resource, final IRI destination, final String baseUrl); static CompletionStage<Void> depth1Copy(final ServiceBundler services, final Session session,
            final Resource resource, final IRI destination, final String baseUrl); static CompletionStage<Void> copy(final ServiceBundler services, final Session session,
            final IRI identifier, final IRI destination, final String baseUrl); static CompletionStage<Void> copy(final ServiceBundler services, final Session session,
            final Resource resource, final IRI destination, final String baseUrl); static Function<Quad, Quad> skolemizeQuads(final ResourceService service, final String baseUrl); static String getLastSegment(final List<PathSegment> segments); static String getAllButLastSegment(final List<PathSegment> segments); static String externalUrl(final IRI identifier, final String baseUrl); }
WebDAVUtils { public static String externalUrl(final IRI identifier, final String baseUrl) { if (baseUrl.endsWith("/")) { return replaceOnce(identifier.getIRIString(), TRELLIS_DATA_PREFIX, baseUrl); } return replaceOnce(identifier.getIRIString(), TRELLIS_DATA_PREFIX, baseUrl + "/"); } private  WebDAVUtils(); static void recursiveDelete(final ServiceBundler services, final Session session, final IRI identifier,
            final String baseUrl); static void closeDataset(final Dataset dataset); static CompletionStage<Void> recursiveCopy(final ServiceBundler services, final Session session,
            final IRI identifier, final IRI destination, final String baseUrl); static CompletionStage<Void> recursiveCopy(final ServiceBundler services, final Session session,
            final Resource resource, final IRI destination, final String baseUrl); static CompletionStage<Void> depth1Copy(final ServiceBundler services, final Session session,
            final Resource resource, final IRI destination, final String baseUrl); static CompletionStage<Void> copy(final ServiceBundler services, final Session session,
            final IRI identifier, final IRI destination, final String baseUrl); static CompletionStage<Void> copy(final ServiceBundler services, final Session session,
            final Resource resource, final IRI destination, final String baseUrl); static Function<Quad, Quad> skolemizeQuads(final ResourceService service, final String baseUrl); static String getLastSegment(final List<PathSegment> segments); static String getAllButLastSegment(final List<PathSegment> segments); static String externalUrl(final IRI identifier, final String baseUrl);  }