|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.netbeans.api.queries.CollocationQuery
Find out whether some files logically belong in one directory tree, for example as part of a VCS checkout.
CollocationQueryImplementation
Method Summary | |
static boolean |
areCollocated(File file1,
File file2)
Check whether two files are logically part of one directory tree. |
static File |
findRoot(File file)
Find a root of a logical tree containing this file, if any. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static boolean areCollocated(File file1, File file2)
CVSROOT
) they might be considered collocated.
If nothing is known about them, return false.
file1
- one filefile2
- another file
public static File findRoot(File file)
file
- a file on disk
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |