cvsssh2method.java

来自「This archive file is for Eclipse 2.1.* a」· Java 代码 · 共 30 行

JAVA
30
字号
/* -*-mode:java; c-basic-offset:2; -*- *//******************************************************************************* * Copyright (c) 2003, Atsuhiko Yamanaka, JCraft,Inc. and others. All rights * reserved. This program and the accompanying materials are made available * under the terms of the Common Public License v1.0 which accompanies this * distribution, and is available at http://www.eclipse.org/legal/cpl-v10.html *  * Contributors: Atsuhiko Yamanaka, JCraft,Inc. - initial API and * implementation. ******************************************************************************/package org.eclipse.team.ccvs.ssh2;import org.eclipse.jface.preference.IPreferenceStore;import org.eclipse.team.internal.ccvs.core.ICVSRepositoryLocation;import org.eclipse.team.internal.ccvs.core.IConnectionMethod;import org.eclipse.team.internal.ccvs.core.IServerConnection;public class CVSSSH2Method implements IConnectionMethod {  public String getName() {    return "extssh2"; //$NON-NLS-1$  }	  public IServerConnection createConnection(ICVSRepositoryLocation root, String password) {    return new CVSSSH2ServerConnection(root, password);  }	  public void disconnect(ICVSRepositoryLocation location) {  }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?