Class SVNAdminUtil
- java.lang.Object
-
- org.tmatesoft.svn.core.internal.wc.SVNAdminUtil
-
public class SVNAdminUtil extends java.lang.Object
- Version:
- 1.3
- Author:
- TMate Software Ltd.
-
-
Constructor Summary
Constructors Constructor Description SVNAdminUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
asString(SVNRevision revision, java.lang.String path)
static void
createFormatFile(java.io.File adminDir)
static void
createReadmeFile(java.io.File adminDir)
static java.io.File
createTmpFile(SVNAdminArea adminArea)
Creates "tempfile[.n].tmp" in admin area's /tmp dirstatic java.io.File
createTmpFile(SVNAdminArea adminArea, java.lang.String prefix, java.lang.String suffix, boolean tmp)
static java.lang.String
getPropBasePath(java.lang.String name, SVNNodeKind kind, boolean tmp)
static java.lang.String
getPropPath(java.lang.String name, SVNNodeKind kind, boolean tmp)
static java.lang.String
getPropRevertPath(java.lang.String name, SVNNodeKind kind, boolean tmp)
static java.lang.String
getTextBasePath(java.lang.String name, boolean tmp)
static java.lang.String
getTextRevertPath(java.lang.String name, boolean tmp)
static int
getVersion(java.io.File path)
static java.lang.String
getWCPropPath(java.lang.String name, SVNNodeKind kind, boolean tmp)
static SVNRevision
parseRevision(java.lang.StringBuffer str)
static java.lang.String
serializeExternalFileData(SVNEntry entry)
static void
unserializeExternalFileData(SVNEntry entry, java.lang.String rawExternalFileData)
-
-
-
Method Detail
-
createReadmeFile
public static void createReadmeFile(java.io.File adminDir) throws SVNException
- Throws:
SVNException
-
createFormatFile
public static void createFormatFile(java.io.File adminDir) throws SVNException
- Throws:
SVNException
-
getTextBasePath
public static java.lang.String getTextBasePath(java.lang.String name, boolean tmp)
-
getTextRevertPath
public static java.lang.String getTextRevertPath(java.lang.String name, boolean tmp)
-
getPropPath
public static java.lang.String getPropPath(java.lang.String name, SVNNodeKind kind, boolean tmp)
-
getPropBasePath
public static java.lang.String getPropBasePath(java.lang.String name, SVNNodeKind kind, boolean tmp)
-
getPropRevertPath
public static java.lang.String getPropRevertPath(java.lang.String name, SVNNodeKind kind, boolean tmp)
-
getWCPropPath
public static java.lang.String getWCPropPath(java.lang.String name, SVNNodeKind kind, boolean tmp)
-
createTmpFile
public static java.io.File createTmpFile(SVNAdminArea adminArea) throws SVNException
Creates "tempfile[.n].tmp" in admin area's /tmp dir- Parameters:
adminArea
-- Returns:
- Throws:
SVNException
-
createTmpFile
public static java.io.File createTmpFile(SVNAdminArea adminArea, java.lang.String prefix, java.lang.String suffix, boolean tmp) throws SVNException
- Throws:
SVNException
-
getVersion
public static int getVersion(java.io.File path) throws SVNException
- Throws:
SVNException
-
unserializeExternalFileData
public static void unserializeExternalFileData(SVNEntry entry, java.lang.String rawExternalFileData) throws SVNException
- Throws:
SVNException
-
parseRevision
public static SVNRevision parseRevision(java.lang.StringBuffer str) throws SVNException
- Throws:
SVNException
-
serializeExternalFileData
public static java.lang.String serializeExternalFileData(SVNEntry entry) throws SVNException
- Throws:
SVNException
-
asString
public static java.lang.String asString(SVNRevision revision, java.lang.String path) throws SVNException
- Throws:
SVNException
-
-