public final class CollocationQuery extends Object
CollocationQueryImplementation2
Modifier and Type | Method and Description |
---|---|
static boolean |
areCollocated(File file1,
File file2)
Deprecated.
|
static boolean |
areCollocated(URI file1,
URI file2)
Check whether two files are logically part of one directory tree.
|
static File |
findRoot(File file)
Deprecated.
Use
CollocationQuery.findRoot(java.net.URI) instead. |
static URI |
findRoot(URI file)
Find a root of a logical tree containing this file, if any.
|
@Deprecated public static boolean areCollocated(File file1, File file2)
CollocationQuery.areCollocated(java.net.URI, java.net.URI)
instead.CVSROOT
) they might be considered collocated.
If nothing is known about them, return false.file1
- one filefile2
- another filepublic static boolean areCollocated(URI file1, URI file2)
CVSROOT
) they might be considered collocated.
If nothing is known about them, return false.file1
- one filefile2
- another file@Deprecated public static File findRoot(File file)
CollocationQuery.findRoot(java.net.URI)
instead.file
- a file on disk