|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.0.0) E17493-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.ide.net.SymlinkCycleDetector
public final class SymlinkCycleDetector
Detects symlink cycles when descending through a directory tree.
Method Summary | |
---|---|
static SymlinkCycleDetector |
getInstance(java.net.URL root)
Get an instance to detect symilnk cycles in a directory tree. |
boolean |
isSymlinkCycle(java.net.URL dir,
URLFileSystem.FileInfo[] infos)
Determine if a directory is a sylink pointing to a directory higher up in the directory tree. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static SymlinkCycleDetector getInstance(java.net.URL root)
root
- the root of the directory tree
public boolean isSymlinkCycle(java.net.URL dir, URLFileSystem.FileInfo[] infos)
false
.
dir
- the directoryinfos
- the contents of the directory
true
if the directory is a symlink cycle,
false
otherwise
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.0.0) E17493-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |