1 6 package fr.jayasoft.ivy.resolver; 7 8 import fr.jayasoft.ivy.repository.vsftp.VsftpRepository; 9 10 18 public class VsftpResolver extends RepositoryResolver { 19 public VsftpResolver() { 20 setRepository(new VsftpRepository()); 21 } 22 public String getTypeName() { 23 return "vsftp"; 24 } 25 public VsftpRepository getVsftpRepository() { 26 return (VsftpRepository) getRepository(); 27 } 28 public void disconnect() { 29 getVsftpRepository().disconnect(); 30 } 31 public String getAuthentication() { 32 return getVsftpRepository().getAuthentication(); 33 } 34 public String getHost() { 35 return getVsftpRepository().getHost(); 36 } 37 public String getUsername() { 38 return getVsftpRepository().getUsername(); 39 } 40 public void setAuthentication(String authentication) { 41 getVsftpRepository().setAuthentication(authentication); 42 } 43 public void setHost(String host) { 44 getVsftpRepository().setHost(host); 45 } 46 public void setUsername(String username) { 47 getVsftpRepository().setUsername(username); 48 } 49 public void setReuseConnection(long time) { 50 getVsftpRepository().setReuseConnection(time); 51 } 52 public void setReadTimeout(long readTimeout) { 53 getVsftpRepository().setReadTimeout(readTimeout); 54 } 55 } 56 | Popular Tags |