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
SVNException
public static boolean setWCProperty(SVNWCAccess access, java.io.File path, java.lang.String propName, SVNPropertyValue propValue, boolean write) throws SVNException
SVNException
public static SVNPropertyValue getWCProperty(SVNWCAccess access, java.io.File path, java.lang.String propName) throws SVNException
SVNException
public static void deleteWCProperties(SVNAdminArea dir, java.lang.String name, boolean recursive) throws SVNException
SVNException
public static SVNPropertyValue getProperty(SVNWCAccess access, java.io.File path, java.lang.String propName) throws SVNException
SVNException
public static boolean setProperty(SVNWCAccess access, java.io.File path, java.lang.String propName, SVNPropertyValue propValue, boolean skipChecks) throws SVNException
SVNException
public static SVNStatusType mergeProperties(SVNWCAccess wcAccess, java.io.File path, SVNProperties baseProperties, SVNProperties diff, boolean baseMerge, boolean dryRun) throws SVNException
SVNException
public static java.util.Map computeAutoProperties(ISVNOptions options, java.io.File file, java.util.Map properties) throws SVNException
SVNException
public static java.util.Map getWorkingCopyPropertyValues(java.io.File path, SVNEntry entry, java.lang.String propName, SVNDepth depth, boolean base) throws SVNException
SVNException
public static void recordWCMergeInfo(java.io.File path, java.util.Map mergeInfo, SVNWCAccess wcAccess) throws SVNException
SVNException
public static java.util.Map parseMergeInfo(java.io.File path, SVNEntry entry, boolean base) throws SVNException
SVNException
public static boolean isValidPropertyName(java.lang.String name) throws SVNException
SVNException
public 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
SVNException
public static void validateMimeType(java.lang.String value) throws SVNException
SVNException
public static java.lang.String determineEncodingByMimeType(java.lang.String mimeType)
public static void validateEOLProperty(java.lang.Object path, ISVNFileContentFetcher fetcher) throws SVNException
SVNException
Copyright © 2004-2012 TMate Software Ltd. All Rights Reserved.