|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.tigris.subversion.javahl.Depth
public final class Depth
The concept of depth for directories. Note: This is similar to, but not exactly the same as, the WebDAV and LDAP concepts of depth.
Field Summary | |
---|---|
static int |
empty
Just the named directory D, no entries. |
static int |
exclude
Exclude (i.e, don't descend into) directory D. |
static int |
files
D + its file children, but not subdirs. |
static int |
immediates
D + immediate children (D and its entries). |
static int |
infinity
D + all descendants (full recursion from D). |
static int |
unknown
Depth undetermined or ignored. |
Constructor Summary | |
---|---|
Depth()
|
Method Summary | |
---|---|
static int |
fromADepth(Depth aDepth)
|
static int |
infinityOrEmpty(boolean recurse)
|
static int |
infinityOrFiles(boolean recurse)
|
static int |
infinityOrImmediates(boolean recurse)
|
static Depth |
toADepth(int depth)
|
static int |
unknownOrEmpty(boolean recurse)
|
static int |
unknownOrFiles(boolean recurse)
|
static int |
unknownOrImmediates(boolean recurse)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int unknown
public static final int exclude
public static final int empty
public static final int files
public static final int immediates
public static final int infinity
Constructor Detail |
---|
public Depth()
Method Detail |
---|
public static final int infinityOrEmpty(boolean recurse)
infinity
when
recurse
is true
, or empty
otherwise.public static final int infinityOrFiles(boolean recurse)
infinity
when
recurse
is true
, or files
otherwise.public static final int infinityOrImmediates(boolean recurse)
infinity
when
recurse
is true
, or immediates
otherwise.public static final int unknownOrEmpty(boolean recurse)
unknown
when
recurse
is true
, or empty
otherwise.public static final int unknownOrFiles(boolean recurse)
unknown
when
recurse
is true
, or files
otherwise.public static final int unknownOrImmediates(boolean recurse)
unknown
when
recurse
is true
, or immediates
otherwise.public static Depth toADepth(int depth)
public static int fromADepth(Depth aDepth)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |