Class SVNPropertiesManager
- java.lang.Object
-
- org.tmatesoft.svn.core.internal.wc.SVNPropertiesManager
-
public class SVNPropertiesManager extends java.lang.Object
- Version:
- 1.3
- Author:
- TMate Software Ltd.
-
-
Constructor Summary
Constructors Constructor Description SVNPropertiesManager()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Map
computeAutoProperties(ISVNOptions options, java.io.File file, java.util.Map properties)
static void
deleteWCProperties(SVNAdminArea dir, java.lang.String name, boolean recursive)
static java.lang.String
determineEncodingByMimeType(java.lang.String mimeType)
static SVNPropertyValue
getProperty(SVNWCAccess access, java.io.File path, java.lang.String propName)
static SVNPropertyValue
getWCProperty(SVNWCAccess access, java.io.File path, java.lang.String propName)
static java.util.Map
getWorkingCopyPropertyValues(java.io.File path, SVNEntry entry, java.lang.String propName, SVNDepth depth, boolean base)
static boolean
isValidPropertyName(java.lang.String name)
static SVNStatusType
mergeProperties(SVNWCAccess wcAccess, java.io.File path, SVNProperties baseProperties, SVNProperties diff, boolean baseMerge, boolean dryRun)
static java.util.Map
parseMergeInfo(java.io.File path, SVNEntry entry, boolean base)
static boolean
propNeedsTranslation(java.lang.String propertyName)
static void
recordWCMergeInfo(java.io.File path, java.util.Map mergeInfo, SVNWCAccess wcAccess)
static boolean
setProperty(SVNWCAccess access, java.io.File path, java.lang.String propName, SVNPropertyValue propValue, boolean skipChecks)
static boolean
setWCProperty(SVNWCAccess access, java.io.File path, java.lang.String propName, SVNPropertyValue propValue, boolean write)
static void
validateEOLProperty(java.lang.Object path, ISVNFileContentFetcher fetcher)
static void
validateMimeType(java.lang.String value)
static SVNPropertyValue
validatePropertyValue(java.lang.Object path, SVNNodeKind kind, java.lang.String name, SVNPropertyValue value, boolean force, ISVNOptions options, ISVNFileContentFetcher fileContentFetcher)
static void
validateRevisionProperties(SVNProperties revisionProperties)
-
-
-
Method Detail
-
validateRevisionProperties
public static void validateRevisionProperties(SVNProperties revisionProperties) throws SVNException
- Throws:
SVNException
-
setWCProperty
public static boolean setWCProperty(SVNWCAccess access, java.io.File path, java.lang.String propName, SVNPropertyValue propValue, boolean write) throws SVNException
- Throws:
SVNException
-
getWCProperty
public static SVNPropertyValue getWCProperty(SVNWCAccess access, java.io.File path, java.lang.String propName) throws SVNException
- Throws:
SVNException
-
deleteWCProperties
public static void deleteWCProperties(SVNAdminArea dir, java.lang.String name, boolean recursive) throws SVNException
- Throws:
SVNException
-
getProperty
public static SVNPropertyValue getProperty(SVNWCAccess access, java.io.File path, java.lang.String propName) throws SVNException
- Throws:
SVNException
-
setProperty
public static boolean setProperty(SVNWCAccess access, java.io.File path, java.lang.String propName, SVNPropertyValue propValue, boolean skipChecks) throws SVNException
- Throws:
SVNException
-
mergeProperties
public static SVNStatusType mergeProperties(SVNWCAccess wcAccess, java.io.File path, SVNProperties baseProperties, SVNProperties diff, boolean baseMerge, boolean dryRun) throws SVNException
- Throws:
SVNException
-
computeAutoProperties
public static java.util.Map computeAutoProperties(ISVNOptions options, java.io.File file, java.util.Map properties) throws SVNException
- Throws:
SVNException
-
getWorkingCopyPropertyValues
public static java.util.Map getWorkingCopyPropertyValues(java.io.File path, SVNEntry entry, java.lang.String propName, SVNDepth depth, boolean base) throws SVNException
- Throws:
SVNException
-
recordWCMergeInfo
public static void recordWCMergeInfo(java.io.File path, java.util.Map mergeInfo, SVNWCAccess wcAccess) throws SVNException
- Throws:
SVNException
-
parseMergeInfo
public static java.util.Map parseMergeInfo(java.io.File path, SVNEntry entry, boolean base) throws SVNException
- Throws:
SVNException
-
isValidPropertyName
public static boolean isValidPropertyName(java.lang.String name) throws SVNException
- Throws:
SVNException
-
propNeedsTranslation
public static boolean propNeedsTranslation(java.lang.String propertyName)
-
validatePropertyValue
public static SVNPropertyValue validatePropertyValue(java.lang.Object path, SVNNodeKind kind, java.lang.String name, SVNPropertyValue value, boolean force, ISVNOptions options, ISVNFileContentFetcher fileContentFetcher) throws SVNException
- Throws:
SVNException
-
validateMimeType
public static void validateMimeType(java.lang.String value) throws SVNException
- Throws:
SVNException
-
determineEncodingByMimeType
public static java.lang.String determineEncodingByMimeType(java.lang.String mimeType)
-
validateEOLProperty
public static void validateEOLProperty(java.lang.Object path, ISVNFileContentFetcher fetcher) throws SVNException
- Throws:
SVNException
-
-