public class IRIEncoder extends Object
| Constructor and Description |
|---|
IRIEncoder() |
| Modifier and Type | Method and Description |
|---|---|
static String |
toIRI(String uri)
Converts a URI to an IRI by removing unnecessary percent-encoding
of UTF-8 sequences.
|
static String |
toURI(String iri)
Converts an IRI to a URI by percent-encoding characters outside of
the US-ASCII range.
|
Copyright © 2016. All rights reserved.