com.openindex.openestate.tool.agency.export
Class FtpTransport

java.lang.Object
  extended by com.openindex.openestate.tool.agency.export.AbstractTransport
      extended by com.openindex.openestate.tool.agency.export.FtpTransport

public class FtpTransport
extends AbstractTransport

FtpTransport.
$Id: FtpTransport.java 1813 2012-10-07 04:50:29Z andy $

Author:
Andreas Rudolph

Field Summary
static String KEY_FTP_ANONYMOUS
           
static String KEY_FTP_HOST
           
static String KEY_FTP_PASS
           
static String KEY_FTP_PASSIVE
           
static String KEY_FTP_PATH
           
static String KEY_FTP_PORT
           
static String KEY_FTP_USER
           
static String NAME
           
 
Constructor Summary
FtpTransport()
           
 
Method Summary
 void cancelTransport()
           
 AbstractTransportPanel createSetupPanel()
           
 void doTransport(File exportDir, AbstractExport export, AgencyExportSummary summary, ImmoToolTask.Callback callback)
          Einen Transport durchführen.
 String getFtpHost()
           
 String getFtpPass()
           
 String getFtpPath()
           
 int getFtpPort()
           
 String getFtpUser()
           
 String getName()
           
 String getTitle()
           
 boolean isFtpAnonymous()
           
 boolean isFtpPassive()
           
 void load(Properties props)
           
 void save(Properties props)
           
 void setFtpAnonymous(boolean val)
           
 void setFtpHost(String val)
           
 void setFtpPass(String val)
           
 void setFtpPassive(boolean val)
           
 void setFtpPath(String val)
           
 void setFtpPort(int val)
           
 void setFtpUser(String val)
           
 
Methods inherited from class com.openindex.openestate.tool.agency.export.AbstractTransport
getResponseProtocols, listAvailableTransports
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
See Also:
Constant Field Values

KEY_FTP_HOST

public static final String KEY_FTP_HOST
See Also:
Constant Field Values

KEY_FTP_PORT

public static final String KEY_FTP_PORT
See Also:
Constant Field Values

KEY_FTP_USER

public static final String KEY_FTP_USER
See Also:
Constant Field Values

KEY_FTP_PASS

public static final String KEY_FTP_PASS
See Also:
Constant Field Values

KEY_FTP_PATH

public static final String KEY_FTP_PATH
See Also:
Constant Field Values

KEY_FTP_ANONYMOUS

public static final String KEY_FTP_ANONYMOUS
See Also:
Constant Field Values

KEY_FTP_PASSIVE

public static final String KEY_FTP_PASSIVE
See Also:
Constant Field Values
Constructor Detail

FtpTransport

public FtpTransport()
Method Detail

cancelTransport

public void cancelTransport()
Overrides:
cancelTransport in class AbstractTransport

createSetupPanel

public AbstractTransportPanel createSetupPanel()
Specified by:
createSetupPanel in class AbstractTransport

doTransport

public void doTransport(File exportDir,
                        AbstractExport export,
                        AgencyExportSummary summary,
                        ImmoToolTask.Callback callback)
                 throws AgencyExportException,
                        ImmoToolTaskCancelledException
Description copied from class: AbstractTransport
Einen Transport durchführen.

Specified by:
doTransport in class AbstractTransport
Parameters:
exportDir - temporäres Export-Verzeichnis
export - Export-Objekt
summary - Zusammenfassung des Exportes
callback - Callback-Objekt des ausführenden Tasks
Throws:
AgencyExportException - Fehler beim Transport
ImmoToolTaskCancelledException

getFtpHost

public String getFtpHost()

getFtpPass

public String getFtpPass()

getFtpPath

public String getFtpPath()

getFtpPort

public int getFtpPort()

getFtpUser

public String getFtpUser()

getName

public String getName()
Specified by:
getName in class AbstractTransport

getTitle

public String getTitle()
Specified by:
getTitle in class AbstractTransport

isFtpAnonymous

public boolean isFtpAnonymous()

isFtpPassive

public boolean isFtpPassive()

load

public void load(Properties props)
Overrides:
load in class AbstractTransport

save

public void save(Properties props)
Overrides:
save in class AbstractTransport

setFtpAnonymous

public void setFtpAnonymous(boolean val)

setFtpHost

public void setFtpHost(String val)

setFtpPass

public void setFtpPass(String val)

setFtpPassive

public void setFtpPassive(boolean val)

setFtpPath

public void setFtpPath(String val)

setFtpPort

public void setFtpPort(int val)

setFtpUser

public void setFtpUser(String val)


Copyright © 2012 OpenEstate. All Rights Reserved.