public class Util extends Object
| Constructor and Description |
|---|
Util() |
| Modifier and Type | Method and Description |
|---|---|
static org.eclipse.rdf4j.model.Resource |
getContext(org.eclipse.rdf4j.repository.Repository repository,
String ctxID)
Get context IRI from string representation
|
static org.eclipse.rdf4j.model.Resource[] |
getContexts(String[] tokens,
int pos,
org.eclipse.rdf4j.repository.Repository repository)
Get context IRIs from a series of tokens, starting from (zero-based) position within the series.
|
static Path |
getPath(String file)
Get path from file or URI
|
public static org.eclipse.rdf4j.model.Resource getContext(org.eclipse.rdf4j.repository.Repository repository, String ctxID)
repository - repositoryctxID - context as stringpublic static org.eclipse.rdf4j.model.Resource[] getContexts(String[] tokens, int pos, org.eclipse.rdf4j.repository.Repository repository) throws IllegalArgumentException
tokens - command as series of tokenspos - position to start fromrepository - repositoryIllegalArgumentExceptionCopyright © 2015-2018 Eclipse Foundation. All Rights Reserved.