public class SimpleRewriteService extends Object implements RewriteService
| Constructor and Description |
|---|
SimpleRewriteService(String localBaseIRI,
String canonicalBaseIRI) |
| Modifier and Type | Method and Description |
|---|---|
String |
fromLocal(String iri)
Convert a local IRI for a resource on the local server to its canonical IRI.
|
String |
toLocal(String iri)
Convert a canonical IRI to the local IRI for the same resource in the local server.
|
public String toLocal(String iri)
RewriteServicetoLocal in interface RewriteServiceiri - The canonical IRI that is to be converted.public String fromLocal(String iri)
RewriteServicefromLocal in interface RewriteServiceiri - The local IRI for a resource on the local server.Copyright © 2019. All rights reserved.