public class SVNPropertiesManager
extends java.lang.Object
| Constructor and Description |
|---|
SVNPropertiesManager() |
| Modifier and Type | Method and 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) |
public static void validateRevisionProperties(SVNProperties revisionProperties) throws SVNException
SVNExceptionpublic static boolean setWCProperty(SVNWCAccess access, java.io.File path, java.lang.String propName, SVNPropertyValue propValue, boolean write) throws SVNException
SVNExceptionpublic static SVNPropertyValue getWCProperty(SVNWCAccess access, java.io.File path, java.lang.String propName) throws SVNException
SVNExceptionpublic static void deleteWCProperties(SVNAdminArea dir, java.lang.String name, boolean recursive) throws SVNException
SVNExceptionpublic static SVNPropertyValue getProperty(SVNWCAccess access, java.io.File path, java.lang.String propName) throws SVNException
SVNExceptionpublic static boolean setProperty(SVNWCAccess access, java.io.File path, java.lang.String propName, SVNPropertyValue propValue, boolean skipChecks) throws SVNException
SVNExceptionpublic static SVNStatusType mergeProperties(SVNWCAccess wcAccess, java.io.File path, SVNProperties baseProperties, SVNProperties diff, boolean baseMerge, boolean dryRun) throws SVNException
SVNExceptionpublic static java.util.Map computeAutoProperties(ISVNOptions options, java.io.File file, java.util.Map properties) throws SVNException
SVNExceptionpublic static java.util.Map getWorkingCopyPropertyValues(java.io.File path,
SVNEntry entry,
java.lang.String propName,
SVNDepth depth,
boolean base)
throws SVNException
SVNExceptionpublic static void recordWCMergeInfo(java.io.File path,
java.util.Map mergeInfo,
SVNWCAccess wcAccess)
throws SVNException
SVNExceptionpublic static java.util.Map parseMergeInfo(java.io.File path,
SVNEntry entry,
boolean base)
throws SVNException
SVNExceptionpublic static boolean isValidPropertyName(java.lang.String name)
throws SVNException
SVNExceptionpublic static boolean propNeedsTranslation(java.lang.String propertyName)
public static SVNPropertyValue validatePropertyValue(java.lang.Object path, SVNNodeKind kind, java.lang.String name, SVNPropertyValue value, boolean force, ISVNOptions options, ISVNFileContentFetcher fileContentFetcher) throws SVNException
SVNExceptionpublic static void validateMimeType(java.lang.String value)
throws SVNException
SVNExceptionpublic static java.lang.String determineEncodingByMimeType(java.lang.String mimeType)
public static void validateEOLProperty(java.lang.Object path,
ISVNFileContentFetcher fetcher)
throws SVNException
SVNExceptionCopyright © 2004-2012 TMate Software Ltd. All Rights Reserved.