当前位置: 首页>>代码示例>>Java>>正文


Java JhlClientAdapterFactory类代码示例

本文整理汇总了Java中org.tigris.subversion.svnclientadapter.javahl.JhlClientAdapterFactory的典型用法代码示例。如果您正苦于以下问题:Java JhlClientAdapterFactory类的具体用法?Java JhlClientAdapterFactory怎么用?Java JhlClientAdapterFactory使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


JhlClientAdapterFactory类属于org.tigris.subversion.svnclientadapter.javahl包,在下文中一共展示了JhlClientAdapterFactory类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: isAvailable

import org.tigris.subversion.svnclientadapter.javahl.JhlClientAdapterFactory; //导入依赖的package包/类
@Override
public boolean isAvailable() {
    if(!available) {                    
        presetJavahl();
        try {
            JhlClientAdapterFactory.setup();
        } catch (Throwable t) {
            if (!"factory for type javahl already registered".equals(t.getMessage())) {
                String jhlErorrs = JhlClientAdapterFactory.getLibraryLoadErrors();
                LOG.log(Level.INFO, t.getMessage());
                LOG.log(Level.WARNING, "{0}\n", jhlErorrs);                                             // NOI18N
                return false;   
            }
        }
        String version = getVersion();
        if(!isSupportedJavahlVersion(version)) {
            LOG.log(Level.INFO, "Unsupported version {0} of subversion javahl bindings.", version); // NOI18N
            return false;
        }
        available = JhlClientAdapterFactory.isAvailable();
    }
    return available;
}
 
开发者ID:apache,项目名称:incubator-netbeans,代码行数:24,代码来源:JavaHlClientAdapterFactory.java

示例2: setup

import org.tigris.subversion.svnclientadapter.javahl.JhlClientAdapterFactory; //导入依赖的package包/类
public void setup() {
    try {
        JhlClientAdapterFactory.setup();
    } catch (SVNClientException e) {
        // can't register this factory
    }
    try {
        CmdLineClientAdapterFactory.setup();
    } catch (SVNClientException e1) {
        // can't register this factory
    }
    
}
 
开发者ID:subclipse,项目名称:svnant,代码行数:14,代码来源:Sample.java

示例3: isAvailable

import org.tigris.subversion.svnclientadapter.javahl.JhlClientAdapterFactory; //导入依赖的package包/类
public boolean isAvailable() {
	boolean available = JhlClientAdapterFactory.isAvailable();
	if (!available && !loadErrorLogged) {
		getLog().log(new Status(IStatus.INFO, PLUGIN_ID, 0, getLoadErrors(), null));
		loadErrorLogged = true;
		org.tigris.subversion.clientadapter.Activator.getDefault().handleLoadErrors(this);
	}
	return available;
}
 
开发者ID:subclipse,项目名称:subclipse,代码行数:10,代码来源:Activator.java

示例4: createClient

import org.tigris.subversion.svnclientadapter.javahl.JhlClientAdapterFactory; //导入依赖的package包/类
@Override
public ISVNClientAdapter createClient() {
    return JhlClientAdapterFactory.createSVNClient(JhlClientAdapterFactory.JAVAHL_CLIENT);
}
 
开发者ID:apache,项目名称:incubator-netbeans,代码行数:5,代码来源:JavaHlClientAdapterFactory.java

示例5: SVN

import org.tigris.subversion.svnclientadapter.javahl.JhlClientAdapterFactory; //导入依赖的package包/类
public SVN() {
  svnClient = SVNClientAdapterFactory.createSVNClient( JhlClientAdapterFactory.JAVAHL_CLIENT );
}
 
开发者ID:HiromuHota,项目名称:pdi-git-plugin,代码行数:4,代码来源:SVN.java

示例6: getAdapterID

import org.tigris.subversion.svnclientadapter.javahl.JhlClientAdapterFactory; //导入依赖的package包/类
public String getAdapterID() {
	return JhlClientAdapterFactory.JAVAHL_CLIENT;
}
 
开发者ID:subclipse,项目名称:subclipse,代码行数:4,代码来源:Activator.java

示例7: getLoadErrors

import org.tigris.subversion.svnclientadapter.javahl.JhlClientAdapterFactory; //导入依赖的package包/类
public String getLoadErrors() {
	return JhlClientAdapterFactory.getLibraryLoadErrors();
}
 
开发者ID:subclipse,项目名称:subclipse,代码行数:4,代码来源:Activator.java


注:本文中的org.tigris.subversion.svnclientadapter.javahl.JhlClientAdapterFactory类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。