Class DAVUtil
- java.lang.Object
-
- org.tmatesoft.svn.core.internal.io.dav.DAVUtil
-
public class DAVUtil extends java.lang.Object- Version:
- 1.3
-
-
Field Summary
Fields Modifier and Type Field Description static intDEPTH_INFINITEstatic intDEPTH_ONEstatic intDEPTH_ZEROprivate static booleanourIsUseDAVWCURL
-
Constructor Summary
Constructors Constructor Description DAVUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description private static java.lang.StringconvertDAVElementToPropName(DAVElement property, boolean isDir)private static SVNErrorMessagecreateDefaultUnexpectedStatusErrorMessage(HTTPStatus httpStatus, java.lang.String path, java.lang.String location)static SVNErrorMessagecreateUnexpectedStatusErrorMessage(HTTPStatus httpStatus, java.lang.String method, java.lang.String path)static SVNPropertiesfilterProperties(DAVProperties source, SVNProperties target)static DAVPropertiesfindStartingProperties(DAVConnection connection, DAVRepository repos, java.lang.String fullPath)static DAVBaselineInfogetBaselineInfo(DAVConnection connection, DAVRepository repos, java.lang.String path, long revision, boolean includeType, boolean includeRevision, DAVBaselineInfo info)static DAVPropertiesgetBaselineProperties(DAVConnection connection, DAVRepository repos, java.lang.String path, long revision, DAVElement[] elements)static longgetLatestRevisionHttpV2(DAVConnection davConnection)static java.lang.StringgetPathFromURL(java.lang.String url)static HTTPStatusgetProperties(DAVConnection connection, java.lang.String path, int depth, java.lang.String label, DAVElement[] properties, java.util.Map result)static java.lang.StringgetPropertyNameByElement(DAVElement element)static java.lang.StringgetPropertyValue(DAVConnection connection, java.lang.String path, java.lang.String label, DAVElement property)static DAVPropertiesgetResourceProperties(DAVConnection connection, java.lang.String path, java.lang.String label, DAVElement[] properties)static DAVBaselineInfogetStableURL(DAVConnection connection, DAVRepository repos, java.lang.String path, long revision, boolean includeType, boolean includeRevision, DAVBaselineInfo info)static DAVPropertiesgetStartingProperties(DAVConnection connection, java.lang.String path, java.lang.String label)static java.lang.StringgetVCCPath(DAVConnection connection, DAVRepository repository, java.lang.String path)static booleanisUseDAVWCURL()static voidsetSpecialWCProperties(ISVNEditor editor, boolean isDir, java.lang.String path, DAVElement property, SVNPropertyValue propValue)static voidsetSpecialWCProperties(SVNProperties props, DAVElement property, SVNPropertyValue propValue)Deprecated.for binary compatibility onlystatic voidsetSpecialWCProperties(SVNProperties props, DAVElement property, SVNPropertyValue propValue, boolean isDir)static voidsetUseDAVWCURL(boolean useDAVWCURL)
-
-
-
Method Detail
-
isUseDAVWCURL
public static boolean isUseDAVWCURL()
-
setUseDAVWCURL
public static void setUseDAVWCURL(boolean useDAVWCURL)
-
getProperties
public static HTTPStatus getProperties(DAVConnection connection, java.lang.String path, int depth, java.lang.String label, DAVElement[] properties, java.util.Map result) throws SVNException
- Throws:
SVNException
-
getResourceProperties
public static DAVProperties getResourceProperties(DAVConnection connection, java.lang.String path, java.lang.String label, DAVElement[] properties) throws SVNException
- Throws:
SVNException
-
getPropertyValue
public static java.lang.String getPropertyValue(DAVConnection connection, java.lang.String path, java.lang.String label, DAVElement property) throws SVNException
- Throws:
SVNException
-
getStartingProperties
public static DAVProperties getStartingProperties(DAVConnection connection, java.lang.String path, java.lang.String label) throws SVNException
- Throws:
SVNException
-
findStartingProperties
public static DAVProperties findStartingProperties(DAVConnection connection, DAVRepository repos, java.lang.String fullPath) throws SVNException
- Throws:
SVNException
-
getVCCPath
public static java.lang.String getVCCPath(DAVConnection connection, DAVRepository repository, java.lang.String path) throws SVNException
- Throws:
SVNException
-
getStableURL
public static DAVBaselineInfo getStableURL(DAVConnection connection, DAVRepository repos, java.lang.String path, long revision, boolean includeType, boolean includeRevision, DAVBaselineInfo info) throws SVNException
- Throws:
SVNException
-
getBaselineInfo
public static DAVBaselineInfo getBaselineInfo(DAVConnection connection, DAVRepository repos, java.lang.String path, long revision, boolean includeType, boolean includeRevision, DAVBaselineInfo info) throws SVNException
- Throws:
SVNException
-
getBaselineProperties
public static DAVProperties getBaselineProperties(DAVConnection connection, DAVRepository repos, java.lang.String path, long revision, DAVElement[] elements) throws SVNException
- Throws:
SVNException
-
getLatestRevisionHttpV2
public static long getLatestRevisionHttpV2(DAVConnection davConnection) throws SVNException
- Throws:
SVNException
-
filterProperties
public static SVNProperties filterProperties(DAVProperties source, SVNProperties target)
-
getPropertyNameByElement
public static java.lang.String getPropertyNameByElement(DAVElement element)
-
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, java.lang.String path, DAVElement property, SVNPropertyValue propValue) throws SVNException
- Throws:
SVNException
-
getPathFromURL
public static java.lang.String getPathFromURL(java.lang.String url)
-
convertDAVElementToPropName
private static java.lang.String convertDAVElementToPropName(DAVElement property, boolean isDir)
-
createUnexpectedStatusErrorMessage
public static SVNErrorMessage createUnexpectedStatusErrorMessage(HTTPStatus httpStatus, java.lang.String method, java.lang.String path)
-
createDefaultUnexpectedStatusErrorMessage
private static SVNErrorMessage createDefaultUnexpectedStatusErrorMessage(HTTPStatus httpStatus, java.lang.String path, java.lang.String location)
-
-