本文整理了Java中org.tigris.subversion.javahl.Version.toString()
方法的一些代码示例,展示了Version.toString()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Version.toString()
方法的具体详情如下:
包路径:org.tigris.subversion.javahl.Version
类名称:Version
方法名:toString
暂无
代码示例来源:origin: org.apache.subversion/svn-javahl-tests
/**
* Test SVNClient.getVersion().
* @throws Throwable
*/
public void testVersion() throws Throwable
{
try
{
Version version = client.getVersion();
String versionString = version.toString();
if (versionString == null || versionString.trim().length() == 0)
{
throw new Exception("Version string empty");
}
}
catch (Exception e)
{
fail("Version should always be available unless the " +
"native libraries failed to initialize: " + e);
}
}
代码示例来源:origin: com.svnkit/com.springsource.org.tigris.subversion.javahl
/**
* list all logfiles (BDB) in use or not)
*
* @param path the path to the repository
* @param receiver interface to receive the logfile names
* @throws ClientException throw in case of problem
*/
public void listDBLogs(String path, MessageReceiver receiver) throws ClientException {
notImplementedYet("Only " + FSFS + " type of repositories are supported by " + getVersion().toString());
}
代码示例来源:origin: com.svnkit/com.springsource.org.tigris.subversion.javahl
/**
* list unused logfiles
*
* @param path the path to the repository
* @param receiver interface to receive the logfile names
* @throws ClientException throw in case of problem
*/
public void listUnusedDBLogs(String path, MessageReceiver receiver) throws ClientException {
notImplementedYet("Only " + FSFS + " type of repositories are supported by " + getVersion().toString());
}
代码示例来源:origin: org.codehaus.jtstand/jtstand-svnkit
/**
* list all logfiles (BDB) in use or not)
*
* @param path the path to the repository
* @param receiver interface to receive the logfile names
* @throws ClientException throw in case of problem
*/
public void listDBLogs(String path, MessageReceiver receiver) throws ClientException {
notImplementedYet("Only " + FSFS + " type of repositories are supported by " + getVersion().toString());
}
代码示例来源:origin: org.tmatesoft.svnkit/svnkit-javahl16
/**
* list all logfiles (BDB) in use or not)
*
* @param path the path to the repository
* @param receiver interface to receive the logfile names
* @throws ClientException throw in case of problem
*/
public void listDBLogs(String path, MessageReceiver receiver) throws ClientException {
notImplementedYet("Only " + FSFS + " type of repositories are supported by " + getVersion().toString());
}
代码示例来源:origin: org.tmatesoft.svnkit/svnkit-javahl16
/**
* list unused logfiles
*
* @param path the path to the repository
* @param receiver interface to receive the logfile names
* @throws ClientException throw in case of problem
*/
public void listUnusedDBLogs(String path, MessageReceiver receiver) throws ClientException {
notImplementedYet("Only " + FSFS + " type of repositories are supported by " + getVersion().toString());
}
代码示例来源:origin: org.codehaus.jtstand/jtstand-svnkit
/**
* list unused logfiles
*
* @param path the path to the repository
* @param receiver interface to receive the logfile names
* @throws ClientException throw in case of problem
*/
public void listUnusedDBLogs(String path, MessageReceiver receiver) throws ClientException {
notImplementedYet("Only " + FSFS + " type of repositories are supported by " + getVersion().toString());
}
代码示例来源:origin: org.tigris.subversion/svn-javahl-tests
/**
* Test SVNClient.getVersion().
* @throws Throwable
*/
public void testVersion() throws Throwable
{
try
{
Version version = client.getVersion();
String versionString = version.toString();
if (versionString == null || versionString.trim().length() == 0)
{
throw new Exception("Version string empty");
}
}
catch (Exception e)
{
fail("Version should always be available unless the " +
"native libraries failed to initialize: " + e);
}
}
代码示例来源:origin: com.svnkit/com.springsource.org.tigris.subversion.javahl
/**
* create a subversion repository.
*
* @param path the path where the repository will been
* created.
* @param disableFsyncCommit disable to fsync at the commit (BDB).
* @param keepLog keep the log files (BDB).
* @param configPath optional path for user configuration files.
* @param fstype the type of the filesystem (BDB or FSFS)
* @throws ClientException throw in case of problem
*/
public void create(String path, boolean disableFsyncCommit,
boolean keepLog, String configPath,
String fstype) throws ClientException {
if (BDB.equalsIgnoreCase(fstype)) {
notImplementedYet("Only " + FSFS + " type of repositories are supported by " + getVersion().toString());
}
try {
SVNRepositoryFactory.createLocalRepository(new File(path), false, false);
if (configPath != null) {
}
} catch (SVNException e) {
JavaHLObjectFactory.throwException(e, myDelegate);
}
}
代码示例来源:origin: org.tmatesoft.svnkit/svnkit-javahl16
/**
* create a subversion repository.
*
* @param path the path where the repository will been
* created.
* @param disableFsyncCommit disable to fsync at the commit (BDB).
* @param keepLog keep the log files (BDB).
* @param configPath optional path for user configuration files.
* @param fstype the type of the filesystem (BDB or FSFS)
* @throws ClientException throw in case of problem
*/
public void create(String path, boolean disableFsyncCommit,
boolean keepLog, String configPath,
String fstype) throws ClientException {
if (BDB.equalsIgnoreCase(fstype)) {
notImplementedYet("Only " + FSFS + " type of repositories are supported by " + getVersion().toString());
}
try {
SVNRepositoryFactory.createLocalRepository(new File(path), false, false);
if (configPath != null) {
}
} catch (SVNException e) {
JavaHLObjectFactory.throwException(e, myDelegate);
}
}
代码示例来源:origin: org.codehaus.jtstand/jtstand-svnkit
/**
* create a subversion repository.
*
* @param path the path where the repository will been
* created.
* @param disableFsyncCommit disable to fsync at the commit (BDB).
* @param keepLog keep the log files (BDB).
* @param configPath optional path for user configuration files.
* @param fstype the type of the filesystem (BDB or FSFS)
* @throws ClientException throw in case of problem
*/
public void create(String path, boolean disableFsyncCommit,
boolean keepLog, String configPath,
String fstype) throws ClientException {
if (BDB.equalsIgnoreCase(fstype)) {
notImplementedYet("Only " + FSFS + " type of repositories are supported by " + getVersion().toString());
}
try {
SVNRepositoryFactory.createLocalRepository(new File(path), false, false);
if (configPath != null) {
}
} catch (SVNException e) {
JavaHLObjectFactory.throwException(e, myDelegate);
}
}
内容来源于网络,如有侵权,请联系作者删除!