public final class CollocationQuery extends Object
CollocationQueryImplementation2| Modifier and Type | Method and Description |
|---|---|
static boolean |
areCollocated(File file1,
File file2)
Deprecated.
Use
areCollocated(java.net.URI, java.net.URI) instead. |
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
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)
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)
findRoot(java.net.URI) instead.file - a file on diskBuilt on February 21 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.