net.sf.jftp.net
Class FtpURLConnection

java.lang.Object
  |
  +--java.net.URLConnection
        |
        +--net.sf.jftp.net.FtpURLConnection

public class FtpURLConnection
extends java.net.URLConnection


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

Constructor Detail

FtpURLConnection

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

connect

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

getFtpConnection

public FtpConnection getFtpConnection()

getInputStream

public java.io.InputStream getInputStream()
                                   throws java.io.IOException
Overrides:
getInputStream in class java.net.URLConnection
java.io.IOException

getOutputStream

public java.io.OutputStream getOutputStream()
                                     throws java.io.IOException
Overrides:
getOutputStream in class java.net.URLConnection
java.io.IOException

getUser

public java.lang.String getUser()

getPass

public java.lang.String getPass()

getHost

public java.lang.String getHost()

getPort

public int getPort()

getLoginResponse

public java.lang.String getLoginResponse()

loginSucceeded

public boolean loginSucceeded()

main

public static void main(java.lang.String[] args)