public final class CollocationQuery
extends java.lang.Object
CollocationQueryImplementation2| Modifier and Type | Method | Description |
|---|---|---|
static boolean |
areCollocated(java.io.File file1,
java.io.File file2) |
Deprecated.
Use
areCollocated(java.net.URI, java.net.URI) instead. |
static boolean |
areCollocated(java.net.URI file1,
java.net.URI file2) |
Check whether two files are logically part of one directory tree.
|
static java.io.File |
findRoot(java.io.File file) |
Deprecated.
Use
findRoot(java.net.URI) instead. |
static java.net.URI |
findRoot(java.net.URI file) |
Find a root of a logical tree containing this file, if any.
|
@Deprecated
public static boolean areCollocated(java.io.File file1,
java.io.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(java.net.URI file1,
java.net.URI file2)
CVSROOT) they might be considered collocated.
If nothing is known about them, return false.file1 - one filefile2 - another file@Deprecated public static java.io.File findRoot(java.io.File file)
findRoot(java.net.URI) instead.file - a file on diskpublic static java.net.URI findRoot(java.net.URI file)
file - a file on diskBuilt on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.