站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc 4.1.0

PathComparator (NetBeans VCS API) - NetBeans API Javadoc 4.1.0

 

org.netbeans.modules.vcscore.util.table
Class PathComparator

java.lang.Object
  extended byorg.netbeans.modules.vcscore.util.table.PathComparator
All Implemented Interfaces:
Comparator, TableInfoComparator

public class PathComparator
extends Object
implements TableInfoComparator


Constructor Summary
PathComparator(String root)
          Creates new FileComparator
 
Method Summary
 int compare(Object obj, Object obj1)
           
 String getDisplayValue(Object obj, Object rowObject)
           
 
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

PathComparator

public PathComparator(String root)
Creates new FileComparator

Method Detail

getDisplayValue

public String getDisplayValue(Object obj,
                              Object rowObject)
Specified by:
getDisplayValue in interface TableInfoComparator

compare

public int compare(Object obj,
                   Object obj1)
Specified by:
compare in interface Comparator

 

Built on May 4 2005.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.