|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openrdf.model.util.URIUtil
public class URIUtil
| Constructor Summary | |
|---|---|
URIUtil()
|
|
| Method Summary | |
|---|---|
static int |
getLocalNameIndex(java.lang.String uri)
Finds the index of the first local name character in an (non-relative) URI. |
static boolean |
isCorrectURISplit(java.lang.String namespace,
java.lang.String localName)
Checks whether the URI consisting of the specified namespace and local name has been split correctly according to the URI splitting rules specified in URI. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public URIUtil()
| Method Detail |
|---|
public static int getLocalNameIndex(java.lang.String uri)
IllegalArgumentException.
uri - A URI string.
java.lang.IllegalArgumentException - If the supplied URI string doesn't contain any of the separator
characters. Every legal (non-relative) URI contains at least one
':' character to seperate the scheme from the rest of the URI.
public static boolean isCorrectURISplit(java.lang.String namespace,
java.lang.String localName)
URI.
namespace - The URI's namespace, must not be null.localName - The URI's local name, must not be null.
URI,
getLocalNameIndex(String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||