@Deprecated public class N3IRIResolver extends Object
org.apache.jena.riot.system.IRIResolver
Only exists for jena-core testsConstructor and Description |
---|
N3IRIResolver()
Deprecated.
Construct an IRIResolver with base as the
current working directory.
|
N3IRIResolver(String baseS)
Deprecated.
Construct an IRIResolver with base determined
by the argument URI.
|
Modifier and Type | Method and Description |
---|---|
static String |
chooseBaseURI()
Deprecated.
Choose a base URI based on the current directory
|
static String |
chooseBaseURI(String baseURI)
Deprecated.
Choose a baseURI based on a suggestion
|
String |
getBaseIRI()
Deprecated.
The base of this IRIResolver.
|
String |
resolve(String relURI)
Deprecated.
Resolve the relative URI against the base of
this IRIResolver.
|
static String |
resolve(String relStr,
String baseStr)
Deprecated.
Create resolve a URI against a base.
|
static String |
resolveFileURL(String filename)
Deprecated.
Turn a filename into a well-formed file: URL relative to the working
directory.
|
static String |
resolveGlobal(String str)
Deprecated.
Resolve the relative URI str against the current
working directory.
|
static void |
setShowExceptions(boolean state)
Deprecated.
To allow Eyeball to bypass IRI checking (because it's doing its own)
|
static void |
suppressExceptions()
Deprecated.
To allow Eyeball to bypass IRI checking (because it's doing its own)
|
public N3IRIResolver()
public N3IRIResolver(String baseS)
baseS
- JenaURIException
- If resulting base would not be legal, absolute IRIpublic static String resolveFileURL(String filename) throws IRIException
filename
- IRIException
public static String resolve(String relStr, String baseStr) throws JenaURIException
relStr
- baseStr
- Can be null if relStr is absoluteJenaURIException
- If result would not be legal, absolute IRIpublic String getBaseIRI()
public String resolve(String relURI)
relURI
- JenaURIException
- If resulting URI would not be legal, absolute IRIpublic static void suppressExceptions()
public static void setShowExceptions(boolean state)
public static String resolveGlobal(String str)
str
- public static String chooseBaseURI()
Licenced under the Apache License, Version 2.0