public class UrlIdentifier extends Object implements Identifier
Constructor and Description |
---|
UrlIdentifier(String identifier) |
UrlIdentifier(String identifier,
boolean removeFragment) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getIdentifier() |
URL |
getUrl() |
int |
hashCode() |
static URL |
normalize(String text) |
static URL |
normalize(String text,
boolean removeFragment) |
String |
toString() |
public UrlIdentifier(String identifier) throws DiscoveryException
DiscoveryException
public UrlIdentifier(String identifier, boolean removeFragment) throws DiscoveryException
DiscoveryException
public String getIdentifier()
getIdentifier
in interface Identifier
public URL getUrl()
public static URL normalize(String text) throws DiscoveryException
DiscoveryException
public static URL normalize(String text, boolean removeFragment) throws DiscoveryException
DiscoveryException
Copyright © 2016 Sxip. All rights reserved.