|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.dna.connector.svn.SVNRepositoryUtil
public class SVNRepositoryUtil
Method Summary | |
---|---|
static org.tmatesoft.svn.core.SVNNodeKind |
checkThePath(org.tmatesoft.svn.core.io.SVNRepository repository,
String path,
long revisionNumber,
String sourceName)
|
static org.tmatesoft.svn.core.io.SVNRepository |
createRepository(String url,
String username,
String password)
Create a SVNRepository from a http protocol. |
static org.tmatesoft.svn.core.SVNURL |
createSVNURL(String url,
String sourceName)
|
static boolean |
exist(org.tmatesoft.svn.core.io.SVNRepository repos)
Check if the repository path exist. |
static boolean |
exists(org.tmatesoft.svn.core.io.SVNRepository repository,
String path)
|
static Collection<org.tmatesoft.svn.core.SVNDirEntry> |
getDir(org.tmatesoft.svn.core.io.SVNRepository repos,
String path)
|
static String |
getRepositoryWorspaceName(org.tmatesoft.svn.core.io.SVNRepository repository)
Util to get the last segment from a path. |
static boolean |
isDirectory(org.tmatesoft.svn.core.io.SVNRepository repos,
String path)
Check if repository path is a directory. |
static boolean |
isFile(org.tmatesoft.svn.core.io.SVNRepository repos,
String path)
Check if the path is a file. |
static void |
setNewSVNRepositoryLocation(org.tmatesoft.svn.core.io.SVNRepository oldRespository,
String url,
boolean forceReconnect,
String sourceName)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static org.tmatesoft.svn.core.SVNURL createSVNURL(String url, String sourceName)
url
- sourceName
-
public static void setNewSVNRepositoryLocation(org.tmatesoft.svn.core.io.SVNRepository oldRespository, String url, boolean forceReconnect, String sourceName)
public static org.tmatesoft.svn.core.SVNNodeKind checkThePath(org.tmatesoft.svn.core.io.SVNRepository repository, String path, long revisionNumber, String sourceName)
repository
- path
- revisionNumber
- sourceName
-
public static org.tmatesoft.svn.core.io.SVNRepository createRepository(String url, String username, String password)
SVNRepository
from a http protocol.
url
- - the url of the repository.username
- - username credential.password
- - password credential
SVNRepository
.public static String getRepositoryWorspaceName(org.tmatesoft.svn.core.io.SVNRepository repository)
repository
-
public static boolean exist(org.tmatesoft.svn.core.io.SVNRepository repos)
repos
-
public static boolean isDirectory(org.tmatesoft.svn.core.io.SVNRepository repos, String path)
repos
- path
-
public static Collection<org.tmatesoft.svn.core.SVNDirEntry> getDir(org.tmatesoft.svn.core.io.SVNRepository repos, String path)
repos
- path
-
public static boolean isFile(org.tmatesoft.svn.core.io.SVNRepository repos, String path)
repos
- path
-
public static boolean exists(org.tmatesoft.svn.core.io.SVNRepository repository, String path)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |