com.etasoft.trans.io
Class axFtpWriter

java.lang.Object
  extended bycom.etasoft.trans.io.axWriter
      extended bycom.etasoft.trans.io.axFtpWriter

public class axFtpWriter
extends axWriter

Ftp writer.


Constructor Summary
axFtpWriter(java.lang.String ftpPath, axInputParameters inputParams)
          Connect to FTP server and open output stream.
 
Method Summary
 void close()
          Used.
 void open(java.lang.String ftpPath, axInputParameters inputParams)
          Open ftp connection for the writer.
 void write(char[] cbuf)
          Used.
 void write(java.lang.String section, java.util.HashMap tabFields, boolean prepareSQL)
          Write section and related elements or fields.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

axFtpWriter

public axFtpWriter(java.lang.String ftpPath,
                   axInputParameters inputParams)
            throws axException
Connect to FTP server and open output stream. ftpPath example user01:pass1234@ftp.foo.com/README.txt;type=i

Method Detail

open

public void open(java.lang.String ftpPath,
                 axInputParameters inputParams)
          throws axException
Open ftp connection for the writer.

Specified by:
open in class axWriter
Throws:
axException

close

public void close()
           throws axException
Used.

Specified by:
close in class axWriter
Throws:
axException

write

public void write(char[] cbuf)
           throws axException
Used.

Overrides:
write in class axWriter
Throws:
axException

write

public void write(java.lang.String section,
                  java.util.HashMap tabFields,
                  boolean prepareSQL)
           throws axException
Write section and related elements or fields.

Overrides:
write in class axWriter
Throws:
axException