Class IriUtils
java.lang.Object
org.rumbledb.runtime.functions.strings.IriUtils
Utility methods for IRI to URI conversions according to RFC 3987 and W3C F&O 3.1.
-
Method Summary
-
Method Details
-
encodeIri
Converts an IRI to a URI according to RFC 3987 and W3C fn:iri-to-uri. Characters that are not permitted in URIs (such as non-ASCII characters and certain delimiters) are percent-encoded using their UTF-8 byte representation.- Parameters:
value- The IRI string to encode.- Returns:
- The resulting URI string.
-