public final class URIUtils extends Object
Modifier and Type | Field and Description |
---|---|
static Pattern |
LITERAL_PATTERN |
static URI |
RDF_LANG_STRING |
static URI |
RDF_TYPE |
static URI |
XSD_ANY_URI |
static URI |
XSD_BASE64_BINARY |
static URI |
XSD_BOOLEAN |
static URI |
XSD_DATE |
static URI |
XSD_DATE_TIME |
static URI |
XSD_DECIMAL |
static URI |
XSD_DOUBLE |
static URI |
XSD_DURATION |
static URI |
XSD_FLOAT |
static URI |
XSD_G_DAY |
static URI |
XSD_G_MONTH |
static URI |
XSD_G_MONTH_DAY |
static URI |
XSD_G_YEAR |
static URI |
XSD_G_YEAR_MONTH |
static URI |
XSD_HEX_BINARY |
static URI |
XSD_INTEGER |
static URI |
XSD_NOTATION |
static URI |
XSD_Q_NAME |
static URI |
XSD_STRING |
static URI |
XSD_TIME |
Modifier and Type | Method and Description |
---|---|
static URI |
createURI(Prefix prefix,
String localname) |
static URI |
createURI(String uri) |
static URI |
createURI(String string,
Prefix defaultPrefix)
Create an URI from a String.
|
static String |
getLocalName(String uri)
Return the local name of this uri.
|
static int |
getLocalNameIndex(String uri) |
static String |
getPrefix(String uri)
Return the global name of this uri.
|
static String |
getScheme(String uri)
Return the scheme part of this uri.
|
static boolean |
isValidURI(String uriRef) |
public static final URI RDF_TYPE
public static final URI RDF_LANG_STRING
public static final URI XSD_STRING
public static final URI XSD_BOOLEAN
public static final URI XSD_DECIMAL
public static final URI XSD_FLOAT
public static final URI XSD_DOUBLE
public static final URI XSD_DURATION
public static final URI XSD_DATE_TIME
public static final URI XSD_TIME
public static final URI XSD_DATE
public static final URI XSD_G_YEAR_MONTH
public static final URI XSD_G_YEAR
public static final URI XSD_G_MONTH_DAY
public static final URI XSD_G_DAY
public static final URI XSD_G_MONTH
public static final URI XSD_HEX_BINARY
public static final URI XSD_BASE64_BINARY
public static final URI XSD_ANY_URI
public static final URI XSD_Q_NAME
public static final URI XSD_NOTATION
public static final URI XSD_INTEGER
public static final Pattern LITERAL_PATTERN
public static boolean isValidURI(String uriRef)
public static String getScheme(String uri)
uri
- public static String getLocalName(String uri)
uri
- public static String getPrefix(String uri)
uri
- public static URI createURI(String string, Prefix defaultPrefix)
string
- defaultPrefix
- public static int getLocalNameIndex(String uri)
Copyright © 2014–2018 GraphIK (INRIA - LIRMM). All rights reserved.