Class SVNWCUtils
java.lang.Object
org.tmatesoft.svn.core.internal.wc17.SVNWCUtils
public class SVNWCUtils
extends java.lang.Object
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic java.io.File
admChild
(java.io.File dirAbsPath, java.lang.String admChildFileName) static void
admCleanupTmpArea
(SVNWCContext context, java.io.File dirAbsPath) static void
admInitTmpArea
(java.io.File dirAbsPath) static java.lang.String
getPathAsChild
(java.io.File parent, java.io.File child) static boolean
isAncestor
(java.io.File parent, java.io.File child) static boolean
isChild
(java.io.File parent, java.io.File child) static java.lang.String
isChild
(java.lang.String parentPath, java.lang.String childPath) static java.lang.String
static boolean
isRecursiveDepth
(SVNDepth depth) Return a recursion boolean based on @a depth.static SVNURL
static long
parseLong
(java.lang.String value) static SVNProperties
propDiffs
(SVNProperties targetProps, SVNProperties sourceProps) static SVNDate
readDate
(long date) static int
relpathDepth
(java.io.File relpath) static int
relpathDepth
(java.lang.String relpath) static java.lang.String
serializeFileExternal
(java.lang.String path, SVNRevision pegRevision, SVNRevision revision) static java.io.File
skipAncestor
(java.io.File parent, java.io.File child) unserializeFileExternal
(java.lang.String str) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
SVNWCUtils
public SVNWCUtils()
-
-
Method Details
-
isRecursiveDepth
Return a recursion boolean based on @a depth. Although much code has been converted to use depth, some code still takes a recurse boolean. In most cases, it makes sense to treat unknown or infinite depth as recursive, and any other depth as non-recursive (which in turn usually translates to #svn_depth_files). -
admChild
public static java.io.File admChild(java.io.File dirAbsPath, java.lang.String admChildFileName) -
admCleanupTmpArea
public static void admCleanupTmpArea(SVNWCContext context, java.io.File dirAbsPath) throws SVNException - Throws:
SVNException
-
admInitTmpArea
- Throws:
SVNException
-
readDate
-
propDiffs
-
relpathDepth
public static int relpathDepth(java.io.File relpath) -
relpathDepth
public static int relpathDepth(java.lang.String relpath) -
unserializeFileExternal
public static SVNWCUtils.UnserializedFileExternalInfo unserializeFileExternal(java.lang.String str) throws SVNException - Throws:
SVNException
-
serializeFileExternal
public static java.lang.String serializeFileExternal(java.lang.String path, SVNRevision pegRevision, SVNRevision revision) throws SVNException - Throws:
SVNException
-
getPathAsChild
public static java.lang.String getPathAsChild(java.io.File parent, java.io.File child) -
isChild
public static boolean isChild(java.io.File parent, java.io.File child) -
isChild
public static java.lang.String isChild(java.lang.String parentPath, java.lang.String childPath) -
isAncestor
public static boolean isAncestor(java.io.File parent, java.io.File child) -
skipAncestor
public static java.io.File skipAncestor(java.io.File parent, java.io.File child) -
isChild
-
join
- Throws:
SVNException
-
parseLong
- Throws:
SVNException
-