public class SVNAdminUtil extends Object
Constructor and Description |
---|
SVNAdminUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
asString(SVNRevision revision,
String path) |
static void |
createFormatFile(File adminDir) |
static void |
createReadmeFile(File adminDir) |
static File |
createTmpFile(SVNAdminArea adminArea)
Creates "tempfile[.n].tmp" in admin area's /tmp dir
|
static File |
createTmpFile(SVNAdminArea adminArea,
String prefix,
String suffix,
boolean tmp) |
static String |
getPropBasePath(String name,
SVNNodeKind kind,
boolean tmp) |
static String |
getPropPath(String name,
SVNNodeKind kind,
boolean tmp) |
static String |
getPropRevertPath(String name,
SVNNodeKind kind,
boolean tmp) |
static String |
getTextBasePath(String name,
boolean tmp) |
static String |
getTextRevertPath(String name,
boolean tmp) |
static int |
getVersion(File path) |
static String |
getWCPropPath(String name,
SVNNodeKind kind,
boolean tmp) |
static SVNRevision |
parseRevision(StringBuffer str) |
static String |
serializeExternalFileData(SVNEntry entry) |
static void |
unserializeExternalFileData(SVNEntry entry,
String rawExternalFileData) |
public static void createReadmeFile(File adminDir) throws SVNException
SVNException
public static void createFormatFile(File adminDir) throws SVNException
SVNException
public static String getPropPath(String name, SVNNodeKind kind, boolean tmp)
public static String getPropBasePath(String name, SVNNodeKind kind, boolean tmp)
public static String getPropRevertPath(String name, SVNNodeKind kind, boolean tmp)
public static String getWCPropPath(String name, SVNNodeKind kind, boolean tmp)
public static File createTmpFile(SVNAdminArea adminArea) throws SVNException
adminArea
- SVNException
public static File createTmpFile(SVNAdminArea adminArea, String prefix, String suffix, boolean tmp) throws SVNException
SVNException
public static int getVersion(File path) throws SVNException
SVNException
public static void unserializeExternalFileData(SVNEntry entry, String rawExternalFileData) throws SVNException
SVNException
public static SVNRevision parseRevision(StringBuffer str) throws SVNException
SVNException
public static String serializeExternalFileData(SVNEntry entry) throws SVNException
SVNException
public static String asString(SVNRevision revision, String path) throws SVNException
SVNException
Copyright © 2022. All rights reserved.