org.openid4java.discovery
Class UrlIdentifier
java.lang.Object
org.openid4java.discovery.UrlIdentifier
- All Implemented Interfaces:
- java.io.Serializable, Identifier
public class UrlIdentifier
- extends java.lang.Object
- implements Identifier
- Author:
- Marius Scurtescu, Johnny Bufu
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
UrlIdentifier
public UrlIdentifier(java.lang.String identifier)
throws DiscoveryException
- Throws:
DiscoveryException
UrlIdentifier
public UrlIdentifier(java.lang.String identifier,
boolean removeFragment)
throws DiscoveryException
- Throws:
DiscoveryException
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
getIdentifier
public java.lang.String getIdentifier()
- Specified by:
getIdentifier
in interface Identifier
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getUrl
public java.net.URL getUrl()
normalize
public static java.net.URL normalize(java.lang.String text)
throws DiscoveryException
- Throws:
DiscoveryException
normalize
public static java.net.URL normalize(java.lang.String text,
boolean removeFragment)
throws DiscoveryException
- Throws:
DiscoveryException
Copyright © 2011 Sxip. All Rights Reserved.