1 11 package org.eclipse.team.internal.ccvs.core.connection; 12 13 import org.eclipse.team.internal.ccvs.core.ICVSRepositoryLocation; 14 import org.eclipse.team.internal.ccvs.core.IConnectionMethod; 15 import org.eclipse.team.internal.ccvs.core.IServerConnection; 16 public class PServerConnectionMethod implements IConnectionMethod { 17 20 public IServerConnection createConnection(ICVSRepositoryLocation location, String password) { 21 if(password==null){ 22 password=""; } 24 return new PServerConnection(location, password); 25 } 26 29 public String getName() { 30 return "pserver"; } 32 33 36 public void disconnect(ICVSRepositoryLocation location) { 37 } 38 } 39 | Popular Tags |