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