org.apache.tapestry.asset
Class AssetComparator

java.lang.Object
  extended by org.apache.tapestry.asset.AssetComparator
All Implemented Interfaces:
Comparator

public class AssetComparator
extends Object
implements Comparator

Used to guarantee that whenever present, the PATH key entry of an asset service link is always appended last in that path string. This is required for certain relative url operations. (ie dojo baseRelativePath)

Author:
jkuhnert

Constructor Summary
AssetComparator()
           
 
Method Summary
 int compare(Object o1, Object o2)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

AssetComparator

public AssetComparator()
Method Detail

compare

public int compare(Object o1,
                   Object o2)

Specified by:
compare in interface Comparator


Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.