public final class CollocationQuery extends Object
CollocationQueryImplementation
Modifier and Type | Method and Description |
---|---|
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.
|
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 fileBuilt on August 17 2014. | Portions Copyright 1997-2014 Sun Microsystems, Inc. All rights reserved.