|
Sun Adapter for Batch/FTP | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stc.eways.batchext.FtpFileProviderImpl
com.stc.eways.batchext.FtpFileProviderImplUser0
public class FtpFileProviderImplUser0
This class is a sample implementation of a user-defined FTP ETD provider implementation class.
This class simply extends the e*Way's standard implementation class FtpFileProviderImpl.
Because this class does no extra work, it operates in the same way as FtpFileProviderImpl except that it outputs some extra messages.
Field Summary |
---|
Constructor Summary | |
---|---|
FtpFileProviderImplUser0()
Construct a new FtpFileProviderImpl object. |
Method Summary | |
---|---|
void |
connect(java.lang.String host,
int port)
Opens a socket connected to a remote FTP host, at the specified port and originating from the current host at a system-assigned port. |
void |
initialize(FtpETD etd)
Initializes the FTP ETD object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FtpFileProviderImplUser0() throws java.lang.Exception
java.lang.Exception
Method Detail |
---|
public void connect(java.lang.String host, int port) throws java.net.SocketException, java.io.IOException
connect
in interface FtpFileProvider
connect
in class FtpFileProviderImpl
host
- The FTP host name.port
- The FTP server port.
java.net.SocketException
- If some socket error occurs.
java.io.IOException
- If some input-output error occurs.public void initialize(FtpETD etd) throws FtpFileException
initialize
in interface FtpFileProvider
initialize
in class FtpFileProviderImpl
etd
- The FTP ETD instance.
FtpFileException
- If some error occurs.
|
Sun Adapter for Batch/FTP | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |