java.lang.Object
org.apache.jena.rfc3986.AlgResolveIRI
Algorithms for IRIs : resolution
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IRI3986relativize(IRI base, IRI iri) Calculate a relative IRI for a (base, target) pair.static IRI3986Resolve an IRI against a base.static StringsafeInitalSegment(String relPath) Ensure the relative path satisfies segment-no-nc in it's first segment.
-
Constructor Details
-
AlgResolveIRI
public AlgResolveIRI()
-
-
Method Details
-
resolve
Resolve an IRI against a base.This function includes resolving the path if the scheme of base and the scheme of the reference is the same or both absent.
-
relativize
Calculate a relative IRI for a (base, target) pair. Returns null if none generated. The base IRI must not have query string. -
safeInitalSegment
Ensure the relative path satisfies segment-no-nc in it's first segment.
-