Package org.eclipse.rdf4j.model
Interface URI
-
- All Superinterfaces:
Resource,Serializable,Value
- All Known Subinterfaces:
IRI
- All Known Implementing Classes:
AbstractIRI,MemIRI,NativeIRI,SimpleIRI,URIImpl
@Deprecated public interface URI extends Resource
Deprecated.since 2.0. UseIRIinstead.A Uniform Resource Identifier (URI).- Author:
- Jeen Broekstra, Arjohn Kampman
- See Also:
- RFC 3986
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object o)Deprecated.Compares a URI object to another object.StringgetLocalName()Deprecated.Gets the local name part of this URI.StringgetNamespace()Deprecated.Gets the namespace part of this URI.inthashCode()Deprecated.The hash code of an URI is defined as the hash code of its String-representation: toString().hashCode.StringtoString()Deprecated.Returns the String-representation of this URI.-
Methods inherited from interface org.eclipse.rdf4j.model.Resource
isResource
-
-
-
-
Method Detail
-
toString
String toString()
Deprecated.Returns the String-representation of this URI.
-
getNamespace
String getNamespace()
Deprecated.Gets the namespace part of this URI. The namespace is defined as per the algorithm described in the class documentation.- Returns:
- The URI's namespace.
-
getLocalName
String getLocalName()
Deprecated.Gets the local name part of this URI. The local name is defined as per the algorithm described in the class documentation.- Returns:
- The URI's local name.
-
equals
boolean equals(Object o)
Deprecated.Compares a URI object to another object.
-
-