Class SVNPropertiesManager
java.lang.Object
org.tmatesoft.svn.core.internal.wc.SVNPropertiesManager
- Version:
- 1.3
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Map
computeAutoProperties
(ISVNOptions options, File file, Map properties) private static boolean
static void
deleteWCProperties
(SVNAdminArea dir, String name, boolean recursive) static String
determineEncodingByMimeType
(String mimeType) private static Collection
getKeywords
(String value) static SVNPropertyValue
getProperty
(SVNWCAccess access, File path, String propName) static SVNPropertyValue
getWCProperty
(SVNWCAccess access, File path, String propName) static Map
getWorkingCopyPropertyValues
(File path, SVNEntry entry, String propName, SVNDepth depth, boolean base) private static void
handleInconsistentEOL
(SVNException svne, Object path) private static boolean
hasSVNProperties
(SVNProperties props) static boolean
isValidPropertyName
(String name) static SVNStatusType
mergeProperties
(SVNWCAccess wcAccess, File path, SVNProperties baseProperties, SVNProperties diff, boolean baseMerge, boolean dryRun) static Map
parseMergeInfo
(File path, SVNEntry entry, boolean base) static boolean
propNeedsTranslation
(String propertyName) static void
recordWCMergeInfo
(File path, Map mergeInfo, SVNWCAccess wcAccess) static boolean
setProperty
(SVNWCAccess access, File path, String propName, SVNPropertyValue propValue, boolean skipChecks) static boolean
setWCProperty
(SVNWCAccess access, File path, String propName, SVNPropertyValue propValue, boolean write) static void
validateEOLProperty
(Object path, ISVNFileContentFetcher fetcher) static void
validateMimeType
(String value) private static void
validatePropertyName
(Object path, String name, SVNNodeKind kind) static SVNPropertyValue
validatePropertyValue
(Object path, SVNNodeKind kind, String name, SVNPropertyValue value, boolean force, ISVNOptions options, ISVNFileContentFetcher fileContentFetcher) static void
validateRevisionProperties
(SVNProperties revisionProperties)
-
Field Details
-
NOT_ALLOWED_FOR_FILE
-
NOT_ALLOWED_FOR_DIR
-
-
Constructor Details
-
SVNPropertiesManager
public SVNPropertiesManager()
-
-
Method Details
-
validateRevisionProperties
- Throws:
SVNException
-
setWCProperty
public static boolean setWCProperty(SVNWCAccess access, File path, String propName, SVNPropertyValue propValue, boolean write) throws SVNException - Throws:
SVNException
-
getWCProperty
public static SVNPropertyValue getWCProperty(SVNWCAccess access, File path, String propName) throws SVNException - Throws:
SVNException
-
deleteWCProperties
public static void deleteWCProperties(SVNAdminArea dir, String name, boolean recursive) throws SVNException - Throws:
SVNException
-
getProperty
public static SVNPropertyValue getProperty(SVNWCAccess access, File path, String propName) throws SVNException - Throws:
SVNException
-
setProperty
public static boolean setProperty(SVNWCAccess access, File path, String propName, SVNPropertyValue propValue, boolean skipChecks) throws SVNException - Throws:
SVNException
-
mergeProperties
public static SVNStatusType mergeProperties(SVNWCAccess wcAccess, File path, SVNProperties baseProperties, SVNProperties diff, boolean baseMerge, boolean dryRun) throws SVNException - Throws:
SVNException
-
computeAutoProperties
public static Map computeAutoProperties(ISVNOptions options, File file, Map properties) throws SVNException - Throws:
SVNException
-
getWorkingCopyPropertyValues
public static Map getWorkingCopyPropertyValues(File path, SVNEntry entry, String propName, SVNDepth depth, boolean base) throws SVNException - Throws:
SVNException
-
recordWCMergeInfo
public static void recordWCMergeInfo(File path, Map mergeInfo, SVNWCAccess wcAccess) throws SVNException - Throws:
SVNException
-
parseMergeInfo
- Throws:
SVNException
-
isValidPropertyName
- Throws:
SVNException
-
propNeedsTranslation
-
getKeywords
-
contains
-
validatePropertyValue
public static SVNPropertyValue validatePropertyValue(Object path, SVNNodeKind kind, String name, SVNPropertyValue value, boolean force, ISVNOptions options, ISVNFileContentFetcher fileContentFetcher) throws SVNException - Throws:
SVNException
-
hasSVNProperties
-
validatePropertyName
private static void validatePropertyName(Object path, String name, SVNNodeKind kind) throws SVNException - Throws:
SVNException
-
validateMimeType
- Throws:
SVNException
-
determineEncodingByMimeType
-
validateEOLProperty
public static void validateEOLProperty(Object path, ISVNFileContentFetcher fetcher) throws SVNException - Throws:
SVNException
-
handleInconsistentEOL
- Throws:
SVNException
-