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
DiscoveryExceptionpublic UrlIdentifier(String identifier, boolean removeFragment) throws DiscoveryException
DiscoveryExceptionpublic String getIdentifier()
getIdentifier in interface Identifierpublic URL getUrl()
public static URL normalize(String text) throws DiscoveryException
DiscoveryExceptionpublic static URL normalize(String text, boolean removeFragment) throws DiscoveryException
DiscoveryExceptionCopyright © 2016 Sxip. All rights reserved.