public class URIHandler extends Object
Constructor and Description |
---|
URIHandler(Set<org.openrdf.model.URI> weakCompression,
HashSet<org.openrdf.model.URI> strongCompression,
org.elasticsearch.client.Client client) |
Modifier and Type | Method and Description |
---|---|
org.openrdf.model.URI |
decode(String compressed)
return the extended uri rapresented by the compressed string.
|
String |
encode(org.openrdf.model.URI uri)
encodes the specified uri using the mapper.
|
boolean |
isEncodedUri(String str) |
void |
printMapping() |
public URIHandler(Set<org.openrdf.model.URI> weakCompression, HashSet<org.openrdf.model.URI> strongCompression, org.elasticsearch.client.Client client) throws IOException
IOException
public String encode(org.openrdf.model.URI uri) throws IOException
uri
- IOException
public org.openrdf.model.URI decode(String compressed)
compressed
- public boolean isEncodedUri(String str)
public void printMapping()
Copyright © 2015–2016 FBK-irst. All rights reserved.