Class FtpTransportProtocolHandler
java.lang.Object
org.eclipse.tycho.p2maven.transport.FtpTransportProtocolHandler
- All Implemented Interfaces:
org.codehaus.plexus.personality.plexus.lifecycle.phase.Disposable,TransportProtocolHandler
@Component(role=TransportProtocolHandler.class,
hint="ftp")
public class FtpTransportProtocolHandler
extends Object
implements TransportProtocolHandler, org.codehaus.plexus.personality.plexus.lifecycle.phase.Disposable
Handles files discovery over the FTP protocol.
- Author:
- Edoardo Luppi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.commons.net.ftp.FTPClientvoiddispose()protected org.apache.commons.net.ftp.FTPClientlonggetLastModified(URI uri)
-
Constructor Details
-
FtpTransportProtocolHandler
public FtpTransportProtocolHandler()
-
-
Method Details
-
getLastModified
- Specified by:
getLastModifiedin interfaceTransportProtocolHandler- Throws:
IOException
-
getFile
- Specified by:
getFilein interfaceTransportProtocolHandler- Throws:
IOException
-
dispose
public void dispose()- Specified by:
disposein interfaceorg.codehaus.plexus.personality.plexus.lifecycle.phase.Disposable
-
createFtpClient
protected org.apache.commons.net.ftp.FTPClient createFtpClient() -
getClient
- Throws:
IOException
-