public class ProxyIriRewriteService extends Object implements RewriteService
| Constructor and Description |
|---|
ProxyIriRewriteService(String canonicalBase,
String cacheBase,
String localBase) |
| 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.
|
protected String |
simpleRewrite(String fromBaseIRI,
String toBaseIRI,
String 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.