Package org.eclipse.rdf4j.common.net
Class ParsedURI
java.lang.Object
org.eclipse.rdf4j.common.net.ParsedURI
- All Implemented Interfaces:
Cloneable
Deprecated.
A replacement for Java's own URI: java.net.URI. Java's implementation is quite buggy in that it doesn't resolve
relative URIs correctly.
Note: this implementation is not guaranteed to handle ipv6 addresses correctly (yet).
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
Deprecated.private String
Deprecated.private void
Deprecated.private String
Deprecated.private String
_parsePath
(String s) Deprecated.private String
Deprecated.private boolean
_parseScheme
(String uri) Deprecated.clone()
Deprecated.Deprecated.Deprecated.getPath()
Deprecated.getQuery()
Deprecated.Deprecated.Deprecated.boolean
Deprecated.boolean
Deprecated.private static boolean
Deprecated.boolean
isOpaque()
Deprecated.boolean
Deprecated.boolean
Deprecated.Checks whether this URI is a relative URI that references itself (i.e.void
Deprecated.Normalizes the path of this URI if it has one.Deprecated.Resolves a relative URI using this URI as the base URI.Deprecated.Resolves a relative URI using this URI as the base URI.toString()
Deprecated.
-
Field Details
-
_scheme
Deprecated. -
_schemeSpecificPart
Deprecated. -
_fragment
Deprecated. -
_authority
Deprecated. -
_path
Deprecated. -
_query
Deprecated.
-
-
Constructor Details
-
ParsedURI
Deprecated. -
ParsedURI
Deprecated. -
ParsedURI
Deprecated.
-
-
Method Details
-
isHierarchical
public boolean isHierarchical()Deprecated. -
isOpaque
public boolean isOpaque()Deprecated. -
isAbsolute
public boolean isAbsolute()Deprecated. -
isRelative
public boolean isRelative()Deprecated. -
isSelfReference
public boolean isSelfReference()Deprecated.Checks whether this URI is a relative URI that references itself (i.e. it only contains an anchor). -
getScheme
Deprecated. -
getSchemeSpecificPart
Deprecated. -
getAuthority
Deprecated. -
getPath
Deprecated. -
getQuery
Deprecated. -
getFragment
Deprecated. -
normalize
public void normalize()Deprecated.Normalizes the path of this URI if it has one. Normalizing a path means that any unnecessary '.' and '..' segments are removed. For example, the URI http://server.com/a/b/../c/./d would be normalized to http://server.com/a/c/d. A URI doens't have a path if it is opaque. -
resolve
Deprecated.Resolves a relative URI using this URI as the base URI. -
resolve
Deprecated.Resolves a relative URI using this URI as the base URI. -
toString
Deprecated. -
clone
Deprecated. -
isJarScheme
Deprecated. -
_parse
Deprecated. -
_parseScheme
Deprecated. -
_parseAuthority
Deprecated. -
_parsePath
Deprecated. -
_parseQuery
Deprecated. -
_parseOpaquePart
Deprecated. -
_parseFragment
Deprecated.
-
ParsedIRI
instead