@@ -0,0 +1,1686 @@
+/*******************************************************************************%0A * Copyright (c) 2007 svnClientAdapter project and others.%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *     http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A *%0A * Contributors:%0A *     svnClientAdapter project committers - initial API and implementation%0A ******************************************************************************/%0Apackage org.tigris.subversion.svnclientadapter.utils;%0A%0Apublic class Depth %7B%0A%0A%09    /** Depth undetermined or ignored. %0A%09    public static final int unknown = -2;%0A%0A%09    /** Exclude (remove, whatever) directory D.%0A%09    public static final int exclude = -1;%0A%0A%09    /** Just the named directory D, no entries. */%0A%09    public static final int empty = 0;%0A%0A%09    /** D + its file children, but not subdirs. */%0A%09    public static final int files = 1;%0A%0A%09    /** D + immediate children (D and its entries). */%0A%09    public static final int immediates = 2;%0A%0A%09    /** D + all descendants (full recursion from D). */%0A%09    public static final int infinity = 3;%0A%0A%09    public static final int fromRecurse(boolean recurse)%0A%09    %7B%0A%09        if (recurse)%0A%09            return infinity;%0A%09        else%0A%09            return files;%0A%09    %7D%0A%7D%0A

Add Depth helper class copied from JavaHL