Class DAVUtil
java.lang.Object
org.tmatesoft.svn.core.internal.io.dav.DAVUtil
- Version:
- 1.3
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic int
static int
static int
private static boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static String
convertDAVElementToPropName
(DAVElement property, boolean isDir) private static SVNErrorMessage
createDefaultUnexpectedStatusErrorMessage
(HTTPStatus httpStatus, String path, String location) static SVNErrorMessage
createUnexpectedStatusErrorMessage
(HTTPStatus httpStatus, String method, String path) static SVNProperties
filterProperties
(DAVProperties source, SVNProperties target) static DAVProperties
findStartingProperties
(DAVConnection connection, DAVRepository repos, String fullPath) static DAVBaselineInfo
getBaselineInfo
(DAVConnection connection, DAVRepository repos, String path, long revision, boolean includeType, boolean includeRevision, DAVBaselineInfo info) static DAVProperties
getBaselineProperties
(DAVConnection connection, DAVRepository repos, String path, long revision, DAVElement[] elements) static long
getLatestRevisionHttpV2
(DAVConnection davConnection) static String
getPathFromURL
(String url) static HTTPStatus
getProperties
(DAVConnection connection, String path, int depth, String label, DAVElement[] properties, Map result) static String
getPropertyNameByElement
(DAVElement element) static String
getPropertyValue
(DAVConnection connection, String path, String label, DAVElement property) static DAVProperties
getResourceProperties
(DAVConnection connection, String path, String label, DAVElement[] properties) static DAVBaselineInfo
getStableURL
(DAVConnection connection, DAVRepository repos, String path, long revision, boolean includeType, boolean includeRevision, DAVBaselineInfo info) static DAVProperties
getStartingProperties
(DAVConnection connection, String path, String label) static String
getVCCPath
(DAVConnection connection, DAVRepository repository, String path) static boolean
static void
setSpecialWCProperties
(ISVNEditor editor, boolean isDir, String path, DAVElement property, SVNPropertyValue propValue) static void
setSpecialWCProperties
(SVNProperties props, DAVElement property, SVNPropertyValue propValue) Deprecated.for binary compatibility onlystatic void
setSpecialWCProperties
(SVNProperties props, DAVElement property, SVNPropertyValue propValue, boolean isDir) static void
setUseDAVWCURL
(boolean useDAVWCURL)
-
Field Details
-
DEPTH_ZERO
public static int DEPTH_ZERO -
DEPTH_ONE
public static int DEPTH_ONE -
DEPTH_INFINITE
public static int DEPTH_INFINITE -
ourIsUseDAVWCURL
private static boolean ourIsUseDAVWCURL
-
-
Constructor Details
-
DAVUtil
public DAVUtil()
-
-
Method Details
-
isUseDAVWCURL
public static boolean isUseDAVWCURL() -
setUseDAVWCURL
public static void setUseDAVWCURL(boolean useDAVWCURL) -
getProperties
public static HTTPStatus getProperties(DAVConnection connection, String path, int depth, String label, DAVElement[] properties, Map result) throws SVNException - Throws:
SVNException
-
getResourceProperties
public static DAVProperties getResourceProperties(DAVConnection connection, String path, String label, DAVElement[] properties) throws SVNException - Throws:
SVNException
-
getPropertyValue
public static String getPropertyValue(DAVConnection connection, String path, String label, DAVElement property) throws SVNException - Throws:
SVNException
-
getStartingProperties
public static DAVProperties getStartingProperties(DAVConnection connection, String path, String label) throws SVNException - Throws:
SVNException
-
findStartingProperties
public static DAVProperties findStartingProperties(DAVConnection connection, DAVRepository repos, String fullPath) throws SVNException - Throws:
SVNException
-
getVCCPath
public static String getVCCPath(DAVConnection connection, DAVRepository repository, String path) throws SVNException - Throws:
SVNException
-
getStableURL
public static DAVBaselineInfo getStableURL(DAVConnection connection, DAVRepository repos, String path, long revision, boolean includeType, boolean includeRevision, DAVBaselineInfo info) throws SVNException - Throws:
SVNException
-
getBaselineInfo
public static DAVBaselineInfo getBaselineInfo(DAVConnection connection, DAVRepository repos, String path, long revision, boolean includeType, boolean includeRevision, DAVBaselineInfo info) throws SVNException - Throws:
SVNException
-
getBaselineProperties
public static DAVProperties getBaselineProperties(DAVConnection connection, DAVRepository repos, String path, long revision, DAVElement[] elements) throws SVNException - Throws:
SVNException
-
getLatestRevisionHttpV2
- Throws:
SVNException
-
filterProperties
-
getPropertyNameByElement
-
setSpecialWCProperties
public static void setSpecialWCProperties(SVNProperties props, DAVElement property, SVNPropertyValue propValue) Deprecated.for binary compatibility only -
setSpecialWCProperties
public static void setSpecialWCProperties(SVNProperties props, DAVElement property, SVNPropertyValue propValue, boolean isDir) -
setSpecialWCProperties
public static void setSpecialWCProperties(ISVNEditor editor, boolean isDir, String path, DAVElement property, SVNPropertyValue propValue) throws SVNException - Throws:
SVNException
-
getPathFromURL
-
convertDAVElementToPropName
-
createUnexpectedStatusErrorMessage
public static SVNErrorMessage createUnexpectedStatusErrorMessage(HTTPStatus httpStatus, String method, String path) -
createDefaultUnexpectedStatusErrorMessage
private static SVNErrorMessage createDefaultUnexpectedStatusErrorMessage(HTTPStatus httpStatus, String path, String location)
-