Java Doc for SftpFileSystemConfigBuilder.java in  » Library » Apache-commons-vfs-20070724-src » org » apache » commons » vfs » provider » sftp » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Library » Apache commons vfs 20070724 src » org.apache.commons.vfs.provider.sftp 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.commons.vfs.FileSystemConfigBuilder
      org.apache.commons.vfs.provider.sftp.SftpFileSystemConfigBuilder

SftpFileSystemConfigBuilder
public class SftpFileSystemConfigBuilder extends FileSystemConfigBuilder (Code)
The config builder for various sftp configuration options
author:
   Mario Ivankovits
version:
   $Revision: 480428 $ $Date: 2006-11-28 22:15:24 -0800 (Tue, 28 Nov 2006) $

Inner Class :public static class ProxyType implements Serializable,Comparable

Field Summary
final public static  ProxyTypePROXY_HTTP
    
final public static  ProxyTypePROXY_SOCKS5
    


Method Summary
public  StringgetCompression(FileSystemOptions opts)
    
protected  ClassgetConfigClass()
    
public  File[]getIdentities(FileSystemOptions opts)
    
public static  SftpFileSystemConfigBuildergetInstance()
    
public  FilegetKnownHosts(FileSystemOptions opts)
    
public  StringgetProxyHost(FileSystemOptions opts)
     Get the proxy to use for sftp connection You have to set the ProxyPort too if you would like to have the proxy relly used.
public  intgetProxyPort(FileSystemOptions opts)
     Get the proxy-port to use for sftp the connection You have to set the ProxyHost too if you would like to have the proxy relly used.
public  ProxyTypegetProxyType(FileSystemOptions opts)
     Get the proxy type to use for sftp connection.
public  StringgetStrictHostKeyChecking(FileSystemOptions opts)
    
public  IntegergetTimeout(FileSystemOptions opts)
    
public  BooleangetUserDirIsRoot(FileSystemOptions opts)
    
public  UserInfogetUserInfo(FileSystemOptions opts)
    
public  voidsetCompression(FileSystemOptions opts, String compression)
     configure the compression to use.
e.g.
public  voidsetIdentities(FileSystemOptions opts, File[] identities)
    
public  voidsetKnownHosts(FileSystemOptions opts, File sshdir)
     Set the known_hosts file.
public  voidsetProxyHost(FileSystemOptions opts, String proxyHost)
     Set the proxy to use for sftp connection.
You have to set the ProxyPort too if you would like to have the proxy relly used.
public  voidsetProxyPort(FileSystemOptions opts, int proxyPort)
     Set the proxy-port to use for sftp connection You have to set the ProxyHost too if you would like to have the proxy relly used.
public  voidsetProxyType(FileSystemOptions opts, ProxyType proxyType)
     Set the proxy type to use for sftp connection.
public  voidsetStrictHostKeyChecking(FileSystemOptions opts, String hostKeyChecking)
     configure the host key checking to use.
valid arguments are only yes, no and ask.
See the jsch documentation for details.
public  voidsetTimeout(FileSystemOptions opts, Integer timeout)
    
public  voidsetUserDirIsRoot(FileSystemOptions opts, boolean userDirIsRoot)
    
public  voidsetUserInfo(FileSystemOptions opts, UserInfo info)
     Set the userinfo class to use if e.g.

Field Detail
PROXY_HTTP
final public static ProxyType PROXY_HTTP(Code)



PROXY_SOCKS5
final public static ProxyType PROXY_SOCKS5(Code)





Method Detail
getCompression
public String getCompression(FileSystemOptions opts)(Code)

Parameters:
  opts -
See Also:   SftpFileSystemConfigBuilder.setCompression



getConfigClass
protected Class getConfigClass()(Code)



getIdentities
public File[] getIdentities(FileSystemOptions opts)(Code)

Parameters:
  opts -
See Also:   SftpFileSystemConfigBuilder.setIdentities



getInstance
public static SftpFileSystemConfigBuilder getInstance()(Code)



getKnownHosts
public File getKnownHosts(FileSystemOptions opts)(Code)

Parameters:
  opts -
See Also:   SftpFileSystemConfigBuilder.setKnownHosts



getProxyHost
public String getProxyHost(FileSystemOptions opts)(Code)
Get the proxy to use for sftp connection You have to set the ProxyPort too if you would like to have the proxy relly used. proxyHost
See Also:   SftpFileSystemConfigBuilder.setProxyPort



getProxyPort
public int getProxyPort(FileSystemOptions opts)(Code)
Get the proxy-port to use for sftp the connection You have to set the ProxyHost too if you would like to have the proxy relly used. proxyPort: the port number or 0 if it is not set
See Also:   SftpFileSystemConfigBuilder.setProxyHost



getProxyType
public ProxyType getProxyType(FileSystemOptions opts)(Code)
Get the proxy type to use for sftp connection.



getStrictHostKeyChecking
public String getStrictHostKeyChecking(FileSystemOptions opts)(Code)

Parameters:
  opts - the option value
See Also:   SftpFileSystemConfigBuilder.setStrictHostKeyChecking(FileSystemOptions,String)



getTimeout
public Integer getTimeout(FileSystemOptions opts)(Code)

Parameters:
  opts -
See Also:   SftpFileSystemConfigBuilder.setTimeout



getUserDirIsRoot
public Boolean getUserDirIsRoot(FileSystemOptions opts)(Code)

Parameters:
  opts -
See Also:   SftpFileSystemConfigBuilder.setUserDirIsRoot



getUserInfo
public UserInfo getUserInfo(FileSystemOptions opts)(Code)

Parameters:
  opts -
See Also:   SftpFileSystemConfigBuilder.setUserInfo



setCompression
public void setCompression(FileSystemOptions opts, String compression) throws FileSystemException(Code)
configure the compression to use.
e.g. pass "zlib,none" to enable the compression.
See the jsch documentation for details.
Parameters:
  opts -
Parameters:
  compression -
throws:
  FileSystemException -



setIdentities
public void setIdentities(FileSystemOptions opts, File[] identities) throws FileSystemException(Code)
Set the identity files (your private key files).
Need to use a java.io.File as JSch cant deal with vfs FileObjects ;-)
Parameters:
  opts -
Parameters:
  identities -



setKnownHosts
public void setKnownHosts(FileSystemOptions opts, File sshdir) throws FileSystemException(Code)
Set the known_hosts file. e.g. /home/user/.ssh/known_hosts2
Need to use a java.io.File as JSch cant deal with vfs FileObjects ;-)
Parameters:
  opts -
Parameters:
  sshdir -



setProxyHost
public void setProxyHost(FileSystemOptions opts, String proxyHost)(Code)
Set the proxy to use for sftp connection.
You have to set the ProxyPort too if you would like to have the proxy relly used.
Parameters:
  proxyHost - the host
See Also:   SftpFileSystemConfigBuilder.setProxyPort



setProxyPort
public void setProxyPort(FileSystemOptions opts, int proxyPort)(Code)
Set the proxy-port to use for sftp connection You have to set the ProxyHost too if you would like to have the proxy relly used.
Parameters:
  proxyPort - the port
See Also:   SftpFileSystemConfigBuilder.setProxyHost



setProxyType
public void setProxyType(FileSystemOptions opts, ProxyType proxyType)(Code)
Set the proxy type to use for sftp connection.



setStrictHostKeyChecking
public void setStrictHostKeyChecking(FileSystemOptions opts, String hostKeyChecking) throws FileSystemException(Code)
configure the host key checking to use.
valid arguments are only yes, no and ask.
See the jsch documentation for details.
Parameters:
  opts -
Parameters:
  hostKeyChecking -
throws:
  FileSystemException -



setTimeout
public void setTimeout(FileSystemOptions opts, Integer timeout)(Code)
set the timeout value on jsch session
Parameters:
  opts -
Parameters:
  timeout -



setUserDirIsRoot
public void setUserDirIsRoot(FileSystemOptions opts, boolean userDirIsRoot)(Code)
use user directory as root (do not change to fs root)
Parameters:
  opts -
Parameters:
  userDirIsRoot -



setUserInfo
public void setUserInfo(FileSystemOptions opts, UserInfo info)(Code)
Set the userinfo class to use if e.g. a password or a not known host will be contacted
Parameters:
  opts -
Parameters:
  info -



Methods inherited from org.apache.commons.vfs.FileSystemConfigBuilder
abstract protected Class getConfigClass()(Code)(Java Doc)
protected Object getParam(FileSystemOptions opts, String name)(Code)(Java Doc)
protected boolean hasParam(FileSystemOptions opts, String name)(Code)(Java Doc)
protected void setParam(FileSystemOptions opts, String name, Object value)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.