com.xmlmind.util
Class URLUtil.URLComparator

java.lang.Object
  extended by com.xmlmind.util.URLUtil.URLComparator
All Implemented Interfaces:
java.util.Comparator<java.net.URL>
Enclosing class:
URLUtil

public static final class URLUtil.URLComparator
extends java.lang.Object
implements java.util.Comparator<java.net.URL>

Compares two URLs by their external forms.


Constructor Summary
URLUtil.URLComparator()
           
 
Method Summary
 int compare(java.net.URL u1, java.net.URL u2)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

URLUtil.URLComparator

public URLUtil.URLComparator()
Method Detail

compare

public int compare(java.net.URL u1,
                   java.net.URL u2)
Specified by:
compare in interface java.util.Comparator<java.net.URL>