net.sf.jftp.net.wrappers
Class Sftp2URLConnection

java.lang.Object
  extended by java.net.URLConnection
      extended by net.sf.jftp.net.wrappers.Sftp2URLConnection

public class Sftp2URLConnection
extends java.net.URLConnection


Field Summary
 
Fields inherited from class java.net.URLConnection
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches
 
Constructor Summary
Sftp2URLConnection(java.net.URL u)
           
 
Method Summary
 void connect()
           
 java.lang.String getHost()
           
 java.lang.String getPass()
           
 int getPort()
           
 Sftp2Connection getSftp2Connection()
           
 java.lang.String getUser()
           
 boolean loginSucceeded()
           
 
Methods inherited from class java.net.URLConnection
addRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentEncoding, getContentLength, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFields, getIfModifiedSince, getInputStream, getLastModified, getOutputStream, getPermission, getReadTimeout, getRequestProperties, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setConnectTimeout, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setReadTimeout, setRequestProperty, setUseCaches, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Sftp2URLConnection

public Sftp2URLConnection(java.net.URL u)
Method Detail

connect

public void connect()
             throws java.io.IOException
Specified by:
connect in class java.net.URLConnection
Throws:
java.io.IOException

getSftp2Connection

public Sftp2Connection getSftp2Connection()

getUser

public java.lang.String getUser()

getPass

public java.lang.String getPass()

getHost

public java.lang.String getHost()

getPort

public int getPort()

loginSucceeded

public boolean loginSucceeded()