public class JsonLdUrl extends Object
Modifier and Type | Field and Description |
---|---|
String |
auth |
String |
authority |
String |
directory |
String |
file |
String |
hash |
String |
host |
String |
hostname |
String |
href |
String |
normalizedPath |
String |
password |
String |
path |
String |
pathname |
String |
port |
String |
protocol |
String |
query |
String |
relative |
String |
user |
Constructor and Description |
---|
JsonLdUrl() |
Modifier and Type | Method and Description |
---|---|
static JsonLdUrl |
parse(String url) |
static String |
removeBase(Object baseobj,
String iri) |
static String |
removeDotSegments(String path,
boolean hasAuthority)
Removes dot segments from a JsonLdUrl path.
|
static String |
resolve(String baseUri,
String pathToResolve) |
public String href
public String protocol
public String host
public String auth
public String user
public String password
public String hostname
public String port
public String relative
public String path
public String directory
public String file
public String query
public String hash
public String pathname
public String normalizedPath
public String authority
public static String removeDotSegments(String path, boolean hasAuthority)
path
- the path to remove dot segments from.hasAuthority
- true if the JsonLdUrl has an authority, false if not.Copyright © 2015. All rights reserved.