org.openid4java.discovery
Class UrlIdentifier

java.lang.Object
  extended by org.openid4java.discovery.UrlIdentifier
All Implemented Interfaces:
Serializable, Identifier

public class UrlIdentifier
extends Object
implements Identifier

Author:
Marius Scurtescu, Johnny Bufu
See Also:
Serialized Form

Constructor Summary
UrlIdentifier(String identifier)
           
UrlIdentifier(String identifier, boolean removeFragment)
           
 
Method Summary
 boolean equals(Object o)
           
 String getIdentifier()
           
 URL getUrl()
           
 int hashCode()
           
static URL normalize(String text)
           
static URL normalize(String text, boolean removeFragment)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UrlIdentifier

public UrlIdentifier(String identifier)
              throws DiscoveryException
Throws:
DiscoveryException

UrlIdentifier

public UrlIdentifier(String identifier,
                     boolean removeFragment)
              throws DiscoveryException
Throws:
DiscoveryException
Method Detail

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getIdentifier

public String getIdentifier()
Specified by:
getIdentifier in interface Identifier

toString

public String toString()
Overrides:
toString in class Object

getUrl

public URL getUrl()

normalize

public static URL normalize(String text)
                     throws DiscoveryException
Throws:
DiscoveryException

normalize

public static URL normalize(String text,
                            boolean removeFragment)
                     throws DiscoveryException
Throws:
DiscoveryException


Copyright © 2013 Sxip. All Rights Reserved.